Back to the glossary

Process and automation

Exit criteria

Exit criteria define the conditions under which a test activity is considered complete, for example reaching a coverage target, having no open critical defects or passing all acceptance tests.

Also known as: completion criteria, entry criteria, definition of done

When has enough been tested?

Without exit criteria, testing ends when time runs out. With exit criteria, it ends when a previously agreed quality level is reached, or a deliberate decision is made to release with known residual risks.

Typical exit criteria

  • All planned test cases have been executed
  • No open defects of severity “critical” or “high”
  • A defined test coverage has been reached
  • All high-risk requirements are backed by passing tests
  • The acceptance tests have passed

Entry criteria

The counterpart are entry criteria: conditions that must be met before a test activity starts. For example: the build succeeds, the smoke test passes, the test environment is available. They prevent expensive tests from being wasted on an unfinished build.

In agile teams, the definition of done plays a similar role for each individual task.