In this video, Meaghan Lewis describes some common design principles for automation tests. The design principles help to provide standards for tests that will help to have consistency and maintainability and shared understanding of the tests' structure.
- The software development community has continued…to evolve design principles and patterns.…These principles and patterns help…to reduce the cost of writing…and maintaining automated test scripts.…Look for ways to improve test design,…to keep long-term maintenance costs to a minimum,…while getting fast and useful feedback.…There are a few main principles…that ensure a consistent…and maintainable automation test suite.…Principles such as Don't Repeat Yourself,…shortened to DRY, help avoid duplication.…
DRY can ensure that when something…changes in the system under a test,…only one test component needs to be updated.…For automation, DRY allows test code…to be shared and reused.…A domain-specific language, or DSL,…describes items particular to a test application.…With any item in the application,…it's best to give a descriptive name…and use that name consistently,…both within the code and the test application.…Using the DSL throughout tests…will make them easier to comprehend by anyone on a team.…
Having a common language helps teammates…
- The test pyramid
- Unit, integration, and UI tests
- Creating an automation strategy
- Choosing test tools
- Deciding what to automation
- Identifying the risks and cost of automation
- Implementing test automation
- Using continuous integration
- Measuring code coverage
Skill Level Beginner
Value of automation1m 24s
1. Test Types
2. How to Approach Automation
3. Testing Tools
4. Decide What to Automate
5. Adopt Test Automation
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.