Test Planning, Entry/Exit Criteria & Estimation
Name a test plan's typical content, write entry/exit criteria for a test phase, and apply all four official estimation techniques.
A test plan documents the means and schedule for achieving test objectives, helps ensure activities meet established criteria, communicates with stakeholders, and shows testing adheres to the test policy and test strategy. Typical content: context of testing (scope, objectives, test basis), assumptions and constraints, stakeholders, communication, a risk register, the test approach (levels, types, techniques, deliverables, entry/exit criteria, independence, metrics, data and environment requirements), and budget/schedule. In iterative SDLCs, testers also contribute to release planning (refining user stories, estimating test effort, planning testing across all iterations) and iteration planning (risk analysis and testability of stories within one iteration).
Entry criteria define the preconditions for starting an activity (without them, it's likely to prove harder, slower, costlier, riskier) — typically resource availability, testware availability, and an initial quality bar (e.g. smoke tests passed). Exit criteria define what must be achieved to call an activity complete — typically thoroughness measures (coverage achieved, unresolved defects, defect density) and binary yes/no criteria (planned tests executed, static testing done). Running out of time or budget can itself be a valid exit criterion, if stakeholders knowingly accept that risk. In Agile, exit criteria are often called Definition of Done; entry criteria a story must meet before development/testing starts are the Definition of Ready.
The syllabus names four estimation techniques:
- Estimation based on ratios (metrics-based) — use a historical ratio, e.g. a 3:2 dev-to-test ratio on 600 person-days of dev effort estimates 400 person-days of test effort.
- Extrapolation (metrics-based) — measure early in the current project and extrapolate the trend forward; well suited to iterative SDLCs (e.g. averaging the last three iterations).
- Wideband Delphi (expert-based, iterative) — experts estimate independently, discuss any outlying estimates, then re-estimate, repeated until consensus; Planning Poker is its common Agile variant.
- Three-point estimation (expert-based) — combine an optimistic (a), most-likely (m) and pessimistic (b) estimate into E = (a + 4m + b) / 6, with error margin SD = (b − a) / 6.
Real-world use case
A test team starts system testing the moment a build lands, without checking a smoke test first — an entry-criteria failure — and burns two days logging "defects" that are really just an unrelated environment misconfiguration. A five-minute entry-criteria check would have caught it before a single real test case ran.
Example code
Exercise
For an acceptance-test phase about to begin, write three entry criteria and three exit criteria.
Read-only here — open the English track at /learn to write and edit this exercise.
Quiz (3)
1. A build fails its smoke test the moment it's deployed, but the test team starts full system testing anyway and logs dozens of "defects" that are really environment issues. What was skipped?
2. A team estimates test effort using a=6, m=9, b=18 person-hours and the formula E = (a + 4m + b) / 6. Which estimation technique is this?
3. Which factor does NOT typically shape a project's test approach?