Finding Bugs Before Users Do

Test yourself on Testing with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on TestingGet your flashcardsBuild my revision planTrack my progress

Finding Bugs Before Users Do

Testing is trying to break your own program before releasing it. Like a car manufacturer crash-testing vehicles - better to find problems in the factory than on the road! You need to test with normal data (should work), extreme/boundary data (edge cases), and erroneous data (data the program should reject). If you only test with data you expect, you'll miss bugs users will find immediately.
Iterative testing happens during development and final testing happens after development. A table of test data for an age field that accepts 18 to 65: normal data 25 and 42 is accepted; boundary data 18 and 65 is accepted, and 17 and 66 is rejected; erroneous data abc and twenty, the wrong data type, is rejected

Exam boards: iterative and final testing are named by OCR. AQA names normal, boundary and erroneous data, and erroneous data is any data the program should reject. OCR splits it in two: erroneous data is data of the wrong data type (such as "abc"), and invalid data is data of the right type that should be rejected (such as 200). Edexcel names test data without the three types.

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.