Test automation
Also called: Automated testing, Automated tests
Using scripts to run test steps and check the results without a person doing it by hand.
Definition
An automated test opens the app (or calls an API), performs steps and checks expected results with assertions. It's excellent for repeated checks such as smoke and regression suites on every build, but it only checks what someone told it to check, so it complements manual and exploratory testing instead of replacing it.
In practice
Every night, 200 automated tests sign in, search restaurants and book tables on the staging build. Testers read the failures in the morning.
Learn it in context
Lessons that use this term.
Related terms
- AssertionThe line in an automated test that checks the expected result and fails the test if it's wrong.
- LocatorThe way an automated test finds an element on the screen, such as a button or a field.
- PlaywrightA free, popular tool for automating web tests in Chromium, Firefox and WebKit browsers.
- Test pyramidA model recommending many fast unit tests, fewer integration tests and few end-to-end tests.
- Flaky testA test that sometimes passes and sometimes fails without any change to the code.