Single lesson · Written for OCR A Level (H446)

Robustness testing: trying to break it – OCR A Level Computer Science lesson (H446)

Students learn to plan and run rigorous robustness tests with normal, boundary, invalid and erroneous data, and record the evidence.

Also in a bundle Project Testing and Evaluation – OCR A Level Computer Science lessons (H446) 10 lessons for £40

Lesson 1 of 10 in unit 13.7 Project Testing and Evaluation, taught in Year 13, Spring 2. It answers one big question: How hard did you try to break your own program?

By the end, students can plan and run rigorous robustness tests with normal, boundary, invalid and erroneous data, and record the evidence.

What happens
General skill: testing to inform evaluation, starting with robustness. The teacher explains the Evaluation marks (testing to inform evaluation 5, evaluation 15), that this is post-development testing of the whole solution, separate from the iterative tests of 13.6, and the JCQ rules: general guidance only, supervised work. Rigorous means every input and route tested systematically: normal, boundary, invalid and erroneous data, plus empty inputs, very long text, a missing file and a lost connection. Worked example: the Highcrag Climbing Centre robustness test table, cross-referenced by number, including one failure (a 300-character comment crashes the log) reported honestly for the evaluation. Supervised time: students write and run their own robustness tests and capture the evidence.

Also sold in the Project Testing and Evaluation unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.

An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.

What's included

  • Slide deck (PowerPoint)
  • Lesson plan (Word)
  • Worksheet (Word)
  • Support worksheet with scaffolds (Word)
  • Single-teacher licence: use and adapt it with your own classes

More for A Level Computer Science

See all

Written for the specifications named. Not endorsed by or affiliated with any exam board.