The Test Cycle—When testing, you will be going through an iterative cycle of testing and error correction.
For each iteration, there will be an overhead involved in recompiling objects from corrected source and in resetting the test data to the initial conditions. It is, therefore, important to adopt a working method that corrects as many errors as possible during a given iteration. In other words, you should not necessarily stop at the first error you detect and attempt to correct and reiterate it, but rather, continue in order to detect and correct as many other errors as possible.
There are several techniques you can use to resume a test run, despite the occurrence of errors:
Error Reporting—In a live system, locating the cause of a bug is often more difficult than actually fixing the bug. This is partly because the sort of bugs that elude system testing tend to be obscure, and may only occur under certain combinations of conditions, but also because they are often reported by the end user, who quite naturally may not be adept at providing the information that helps to characterize a bug. It is important, therefore, to have an error reporting procedure that helps to capture as much information about bugs as possible. The user should be trained in basic recording techniques. Automatic techniques may also be used.
For any reasonably sized system, it is desirable to have a computer-based error reporting and problem determination system:
iSeries has a number of facilities that can be used to assist with problem resolution. For example, the Question and Answer database may be used as a basis for a computerized problem reporting system.
Problem Reporting Data—Careful consideration should be given to the standard information recorded for each problem, and the classifications under which they are filed.
Some items that are generally important are:
Include circumstantial information, such as what the user was doing at the time.
Problem Reporting Procedure—Standard practice should include the following:
If you are operating on more than one machine, the Operating System version levels, including Program Temporary Fix (PTF) levels, should be recorded. The OS/400 Display Program Temporary Fix (DSPPTF) command can be used to examine the applied fixes.
Trapping Error Information Automatically—Apart from its normal job of logging facilities, OS/400 has three particular features that may be used to trap error information automatically:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |