gtpp1m0c | Program Development Support Reference |
At the conclusion of every test run, the PTV utility restores all application programs and data records altered by the test run to their condition before the test. This is not a user option; it is controlled automatically by the PTV utility. However, you have the option to restore or not to restore between test units in a run.
If several test units are run without a database restore, the updates to the database are accumulated. The next test unit to request database restore causes the database to be restored to its original state on completion of the test unit. This allows several test units to be cascaded so that each depends on the results of the preceding test unit. After the final test unit in a package, known as the phase 3 test run, the PTV utility restores the database automatically as part of deactivation procedures.