What is a test plan and what is in it?
A test plan describes the test objectives and the means and schedule to reach them: what is tested and what is not, how, on what, and when to stop. It covers scope, risks, entry and exit criteria, data, environments and roles. An exit criterion must be measurable, for example zero open blockers and critical defects. The plan is updated when scope or risk changes.
QA Fundamentals · Test documentation
Someone asks for a “test plan”. What do you write so it is a document people use, not a 30-page template?
A team ships “Daily transfer limits” in two weeks. The developer thinks only the limit needs testing, the product owner expects the messages checked too, and the tester plans regression of all transfers. Everyone keeps a different version in their head: what is checked, on what, when to stop. A test plan merges these versions into one. In ISTQB terms it is documentation describing the test objectives and the means and schedule to reach them. Below: what it consists of, why each section exists, and how a weak plan differs from a strong one.
How it works and why. A plan answers questions that would otherwise be decided by accident or on the last day. Each section closes one of them: without “out of scope” everyone assumes everything is checked; without entry and exit criteria testing has neither a start nor an end; without risks checks follow the order of requirements, not of danger. The ISTQB CTFL 4.0 syllabus (section 5.1) lists a similar content: context (scope, objectives, test basis), assumptions and constraints, stakeholders, communication, a risk register, the approach (levels, types, techniques, deliverables, entry and exit criteria, metrics, data and environment needs), budget and schedule. Teams name sections differently, the questions stay the same.
A plan section and the question it closes
Entry and exit criteria. These are a contract between testing and the rest of the team. Entry says when testing makes sense, exit says when the work is done. An exit criterion must be measurable, otherwise it turns into “time is up”. Example:
| Entry | Exit |
|---|---|
| The build is deployed to the test environment, a basic transfer works, data is loaded, requirements are approved. | Zero open blockers and critical defects, all high-priority cases executed, open medium defects agreed with the product owner. |
Worked example: a weak and a strong plan. The weak version takes three lines: “Test the limits. Approach: manual testing. Finish when everything is tested.” Nothing can be verified: neither what “everything” is nor when exactly we finish. A strong one-page plan:
Test plan: release 2.14 "Daily transfer limits"
Version 3, updated 18 Nov, owner: QA lead
1. Scope and objectives
In: daily and monthly limit, the limit message, the reset
at 00:00, transfers between the user's own cards.
Out: currency transfers (coming in 2.15), the limits admin
panel (separate plan).
Goal: confirm the limit cannot be bypassed and does not block
allowed transfers.
2. Approach
Functional by hand (high-priority cases), limit boundaries via
API automation, transfer regression from the product strategy.
3. Environment and data
Staging with a test payment gateway; users with different limits
are created by an API script.
4. Entry: build deployed, a basic transfer works, data ready.
Exit: 0 open blockers and criticals, all High cases executed,
open Medium defects agreed with the product owner.
5. Risks
Time zone and the day boundary: separate cases for 23:59 and
00:00. Gateway down: reserve window 19-20 Nov.
6. Roles and schedule
2 QA, first pass 18-20 Nov, regression 21-22 Nov, report 22 Nov.
Scope and exit: two ways to write it
Vague
We test the limits. We finish when everything is tested. Risks: possible delays. Nobody knows whether currency is in, or when “everything” is reached.
Verifiable
In scope: daily and monthly limit; out of scope: currency. Exit: 0 blockers and criticals, all High cases executed. The “day boundary” risk has its own cases and a date.
Limits and alternatives. A plan does not replace test cases and is not a calendar: it describes the frame, not every check. A big product has a master plan and plans for separate levels (integration, system), each with its own criteria. In Agile a plan shrinks to a page per release or feature, and part of the answers is taken over by the Definition of Ready and Definition of Done. Planning is continuous: when scope or risk changes, the plan changes, so it carries a version, a date and an owner. General rules for all projects live not in the plan but in the test strategy.
Common mistakes.
- Copy a 30-page template: nobody reads it and the important part drowns among empty sections.
- Skip “what we do not test”: the customer assumes everything is checked and learns about the gap from users.
- An exit criterion without a number (“when everything is ready”): the decision to stop becomes an argument.
- Risks without actions: a list of fears with no answer to what to do when the gateway is down.
- Write it once and never update it: a week later the plan describes a different release.
Check yourself
The plan’s exit criterion is “all cases executed”. Release is tomorrow, all are executed, two critical defects are open. What is wrong with the criterion?
Answer
It measures activity, not product state. All cases can be executed and the product still not ready. The criterion should include defect state (zero blockers and criticals) and the result of high-priority cases.
Why have an “Out of scope” section if it lists what is not checked?
Answer
It records an agreement: everyone sees that currency or the admin panel stay unchecked and does not count on it. A defect found there is a known risk, not a surprise.