Revise Computing
Revision notesQuestionsFor schools
Log inStart revising free
Revision notesQuestionsFor schoolsLog in
GCSE Computer Science/Paper 2/Testing

Testing

The purpose of testing

2.3.2 Testing

Practise exam questions

Testing — Note 1 of 5

What you need to know

Testing is the process of checking that a program works correctly, is robust, and is secure. The goal of testing is to find errors and bugs, not just to show that a program works. Good testing is destructive: it deliberately tries to break the program with unusual or extreme inputs to uncover hidden problems.

What to know

  • Testing ensures programs work correctly / as intended and meet user requirements.
  • The goal is to find/detect errors and bugs, not just to prove the program works.
  • Good testing is destructive: it deliberately tries to break the program with unusual inputs.
  • Testing checks the program does not crash / is robust / executes correctly.
  • Testing should cover as many different scenarios and input types as possible.
  • Testing takes place at different stages of development (iterative and final).
  • Untested programs may contain bugs that only appear under certain conditions.

Exam technique

  • Tip:When asked 'why should programs be tested?': check it works as intended, find errors/bugs, check it doesn't crash, meets user requirements, ensure no problems when released.

Ready to test yourself?

Practise 2.3.2 questions
← Previous topicUse of sub programs; Naming conventions; Indentation; Commenting2.3.1 Defensive DesignNext note →Iterative, Final/terminal2.3.2 Testing

Back to Testing

Revise another OCR GCSE topic: Defensive Design

Testing

Note 1 of 5

  1. 1Testing
  2. 2Iterative, Final/terminal
  3. 3Syntax and logic errors
  4. 4Normal; Boundary; Invalid/Erroneous
  5. 5Refining algorithms
Topic overview

© 2026 Revise Computing · revisecomputing.co.uk

Privacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).