Which stage produces the test plan?
A team is developing a booking program for a sports centre. Before any program code has been written, a member of the team produces a test plan that lists each test, the test data to be used and the expected result.
In which stage of the program development life cycle is the test plan produced?
A Analysis
B Design
C Coding
D Testing
[1]
- 1
Separate planning the tests from carrying them out. The test plan is written while the solution is being designed, alongside the structure chart, the identifier table and the test strategy. The testing stage is where the planned tests are run and the actual results compared with the expected results.
- 2
The plan is produced before coding starts, so it belongs to the design stage. Answer B (1).
Answer
B (Design)
Examiner tip
Examiner tip: mark schemes list the test strategy and the test plan as design-stage outcomes, together with structure charts, state-transition diagrams, pseudocode and identifier tables. The design stage plans how the program will be built and checked.
Common mistake: choosing D because the word 'test' is in the name. The testing stage uses the plan; it does not create it.