Seneca

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

  • A team plans which tests to run and what result to expect before coding starts. In which stage of development does this happen?

  • A test plan says a program should display 10. The program runs and displays 10. What does this result show?

Practise this topic for free