Planning tests against a specification

Study Part 3 · Topic 4 of 5

Choose and prepare the right test so you can prove a system meets its specification.

30 minInteractiveSafety, maintenance and testing
0 activities complete
Why test

Prove it works before users find out it does not

A specification says exactly what a system must do, for example: ‘The new laptop must boot in under 30 seconds, join the domain, print to the Finance printer and run the payroll software.’ Testing checks every point against that specification.

Match the test type

Tap a term on the left, then its meaning on the right. 6 pairs to go

Test plan

Prepare before you test

Build a test plan
1

Read the specification

List every requirement that must be proven.

2

Choose the test procedure

Decide which test types are needed and in what order.

3

Write test cases

For each requirement: steps, test data and the expected result.

4

Prepare the environment

Test equipment, user accounts, sample data and tools ready.

5

Agree pass criteria

When is the system good enough to sign off?

IDRequirementStepsExpected result
TC-01Boots in under 30 sPower on, time to login screenLogin screen in 30 s or less
TC-02Joins the domainLog in with a domain accountDesktop loads, policies applied
TC-03Prints to FinancePrint a test pagePage prints on FIN-PRN-01
TC-04Runs payrollOpen payroll, view an employeeRecord displays without error
Knowledge check

A test case must always include…

Key takeaways

  • Test every requirement in the specification.
  • Know unit, integration, system, acceptance, regression and performance tests.
  • A good test case has steps, data and an expected result.