Skip to content
BENIBIX Learn

Automated Testing

Development🧪 Testing & QualityTest Basics

Also known as Test Automation, Automated Tests, Automated Software Testing

Tests written as code. A computer runs them on every change.

Think of it like

Think of it like a robot that checks each door in a house at night. It never gets tired and never skips one.

Example

Lucy's shop has 400 automated tests. They run on every push and finish in two minutes.

Why it matters

People forget checks. A computer runs every check, every time, and catches old bugs coming back.

Definition

Automated testing means tests written as code that a computer runs for you. Each test sets something up, runs part of the app and checks the result. A whole suite can run in seconds or minutes. It runs the same way every time, on every change. Teams usually run it on each push, in their CI pipeline.

Example code

console
$ npm test

 Test Files  12 passed (12)
      Tests  400 passed (400)
One command runs all the tests and says how many passed.
The three lower layers are automated. Only the cloud on top is done by hand.

Common mistake

Writing tests for things that change each week. Tests that keep breaking soon get ignored.

Key takeaways

  1. 1
    Tests as code. A computer runs them, not a person.
  2. 2
    Every change. Run them on each push.
  3. 3
    Same every time. No step is ever skipped.

Compare