Migrating Test Scenarios and Component Stubs


A test scenario contains both the meta data describing the linkage section of a program as well as the concrete data to be used in the test scenario. It is important that the metadata and data reflect the exact data structure expressed in the linkage section. If there is a difference, the test scenario will fail because the program will abend.

When the linkage section of a program changes, for instance by adding or removing fields, that also requires that test scenarios including the program must be changed. Program stubs must also be migrated as well to conform to the new linkage section structure.

After compiling a program with a changed linkage section you must:

  1. Update the component definition in the repository. The component definition must at all times reflect the compiled load module.
  2. Migrate test scenarios and component stubs. Migration of test scenarios and component stubs have been made easy in Eclipse by a Migration wizard. This wizard can be used to analyze all test scenarios or stubs in a selected folder for needed changes, and if changes are needed, the wizard can visualize the required changes and execute these manually.

This section provides information about the following topics:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*