Pearson Edexcel GCSE Computer Science (1CP2)Specification point 6.1.6

Edexcel 1CP2 6.1.6: Test data and evaluation

The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.

What it covers

A program that works for the one example you tried is not a tested program. Testing is running a program on purpose with inputs chosen to find its mistakes, and checking each result against what it should be. Good testers do not try to show a program works; they try hard to make it fail, so that users never do.

  • When to test
  • Choosing test data
  • A test plan
  • Tests the program runs itself
  • Testing a robot
Read the free lesson (15 min)

Or do it in the simulator, with tasks that mark themselves

Lessons that teach it

  1. F6.3 Testing and test data Robust programs
    Iterative and final testing; normal, boundary, invalid and erroneous data; test plans in code.

Try it on a robot

The task from F6.3 Testing and test data, running here. Change the program and press Run.

Past paper questions on this

Real exam questions that test this, each worked through with a program you can run.

The specification is Edexcel's own document; this page says which of our lessons teach point 6.1.6 and is not endorsed by the board.