Certopolis

ISTQB Certified Tester Foundation Level

Entry criteria vs exit criteria, DoR vs DoD (ISTQB CTFL)

Entry criteria are the preconditions for starting an activity. Exit criteria state what must be achieved before the activity can be declared complete. ISTQB's CTFL v4.0 syllabus wants both set for every test level. In Agile development, a user story's entry criteria are called the Definition of Ready and exit criteria the Definition of Done.

What are typical entry criteria?

The syllabus gives three groups. Resources are available: staff, time, budget, tools, environments and test data. Testware is available: for example the test basis, requirements that can be tested, user stories and test cases. Initial quality level of the test object: for example, all smoke tests have passed.

If entry criteria are not met, the activity is likely to be more difficult, more time-consuming, more costly and riskier.

What are typical exit criteria?

There are two kinds. Measures of thoroughness: the level of coverage achieved, the number of unresolved defects, defect density, the number of failed test cases. Yes/no criteria: the planned tests were run, static testing was done, every defect found has been reported, and the regression tests are all automated.

Entry and exit criteria differ from one test level to another, because the test objectives differ.

Can testing end when time or budget runs out?

Yes, under a condition. The syllabus treats running out of time or budget as a valid exit criterion. Testing can end without the other exit criteria being satisfied provided the stakeholders have looked at the risk of going live with no more testing and have accepted it.

Definition of Ready vs Definition of Done

Agile teams often call their exit criteria the Definition of Done. It sets the objective measures an item must meet before the team treats it as releasable.

The Definition of Ready is the set of entry criteria a user story has to satisfy before work on it, development or testing, begins. A rule such as 'acceptance criteria are written before the story enters an iteration' is a Definition of Ready item.

Where the exam catches people

  • Classing 'smoke tests have passed' as an exit criterion: it describes the initial quality level of the test object, which is an entry criterion.
  • Classing 'test cases are available' or 'the environment is ready' as exit criteria: availability of testware and resources is checked on entry.
  • Swapping the Agile terms: Definition of Ready is entry criteria for a user story. Definition of Done is exit criteria.
  • Believing testing can never stop while exit criteria are unmet: it can, once stakeholders have considered the risk and accepted it.
  • Using one set of criteria for all test levels: each test level gets its own, and they differ with the test objectives.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A system test team plans to start test execution on Monday. On Friday the test manager learns that most of the smoke tests run against the newly delivered build have failed. Which of the following criteria has NOT been met? Select ONE option.

    Right. In the game that’s Renown for your Managing the Test Activities building.

    Not that one: A is right. In the game your Managing the Test Activities building would lose a little Renown, and this question would come back later.

  2. A Scrum team agrees that before any user story is pulled into an iteration, its acceptance criteria must be written and the tester must have confirmed that the story is testable. Which of the following terms names this agreement? Select ONE option.

    Right. In the game that’s Renown for your Managing the Test Activities building.

    Not that one: A is right. In the game your Managing the Test Activities building would lose a little Renown, and this question would come back later.

  3. A team is agreeing the criteria for its system test level. Which of the following is a typical exit criterion for that level? Select ONE option.

    Right. In the game that’s Renown for your Managing the Test Activities building.

    Not that one: D is right. In the game your Managing the Test Activities building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The other three describe things that need to be in place before system testing can sensibly begin, which makes them entry criteria.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

Ask for something