Unit 10 · Lesson 5
Build the idea
Start with the concept and its key vocabulary.
Good testing is destructive: it tries typical values, edges and misuse to find hidden faults. For an inclusive range 1–5, 3 is normal, 1 and 5 are valid boundaries, and 0 or 6 are invalid. Text such as bananas is erroneous when an integer is expected. A test plan states the exact input and expected response before recording what actually happened. Iterative testing checks modules during development; final or terminal testing checks the complete program at the end.
Typical valid input that should be accepted and processed correctly.
Input at the very edge of an accepted range.
Input of the correct type that lies outside the permitted rules or range.
Input of the wrong data type.
A record of test data, test type, expected result and actual result.
Testing modules during development so faults can be corrected as the program is built.
Testing the complete program at the end of development before release.