The Purpose of Testing

Computer Science: OCR A Level, topic 7.2.2

Purpose of Testing

Errors in software are often called bugs. Testing helps to identify bugs. Debugging gets rid of bugs.

Bugs

  • Bugs are mistakes in the programming of a system.
  • Bugs are not deliberate attempts to bring down systems.

Testing

  • The purpose of testing is to check that a program:
  • Works as intended under good conditions.
  • Copes with errors when given bad data.
  • Different types of testing take place at different points in the development and deployment of a solution.

Debugging

  • Once a bug has been identified in testing then it can be debugged.
  • Debugging means finding the cause of the bug, and fixing it.

Test yourself on The Purpose of Testing

  • What are errors in software often called?

  • Do bugs include deliberate attempts to bring down systems?

  • Lifecycle of Software

Practise this topic for free