1.5 Document the results of testing
A Test Plan should be constructed which indicates an incremental development where each module is to be tested in turn, with appropriate test stubs. For each test, expected results should be noted.
A Test Log indicates the results of each test run, whether the test is successful or not. If a test is successful and an error has been discovered then the code should be redesigned, amending pseudocode, recoded and retested.
The advantage of this method is that errors are likely to be localised to the module which is currently under test.
|Mod Ref||2||Mod Name:||CalcGrade|
|Test Case||Test Data||Expected Result||Actual Result||Comments|
||Exam1=100Exam2=-1||Error message for Exam2
||No error message shown.
||Calculation carried out with incorrect data|
Note: n/a is short for not applicable.