Test Plans

Computer Science: OCR A Level, topic 7.2.4

Test Plans

It is important to make sure that tests are planned carefully to make sure that as many bugs as possible are fixed before deployment.

Test data

Test data

  • To make sure that testing is thorough, both expected and unexpected data should be used in testing:
  • Valid data is correct and of the right format.
  • Extreme data is correct but on the edge of the valid range.
  • Invalid data is not within the acceptable range or is an invalid format.
  • Null data is where no data is entered to see what happens.
  • Erroneous data is of the wrong type altogether.
Test plans

Test plans

  • Test plans make sure that testing is effective by detailing exactly which tests will be performed, what test data will be used, and what the system's intended outcome should be.
  • A test plan should be created before development. It is part of the design stage.
  • Testing should cover all of the success criteria of the project.

Test yourself on Test Plans

  • Why are so many types of data included in test plans?

  • When should a test plan be written?

Practise this topic for free