Adding and editing test entries for PL/I

Use the toolbar buttons and pop-up menus to add and edit test entries in the Test Case Editor.

About this task

A test entry is a specific test that is run in a test case. A test case program contains one or more tests to be run when the test case is started. The number of tests that you can add to a test case is limited to available memory. For more information about factors that limit the number of tests in a test case, see the related topics.
Note: For relative record data set (RRDS), empty record not supported, and you need to input all records sequentially.

Procedure

  • To add a test entry, click Add Entry Add Test or right-click in the table and click Add Test.
    The editor adds two columns to the table: one column for input data and one column for expected output data.
    Test entry columns
    For an input file, the cells in the expected output data column are disabled. For an output file, the cells in the input column are disabled.
  • To edit a test name or description, click Edit Test Edit Test, or right-click in the in the editor and click Edit Test. Type a new name and description in the Edit Test window.
  • To delete a test entry, click Delete Test Delete Test, or right-click in the editor and click Delete Test.
    The test is removed from the table.
  • To add data to an input parameter or expected output parameter for a test entry, double-click a cell, type the data value in the cell, and press Enter.
    You can use the pop-up menu to copy, cut, paste, and delete parameter values.
    The value is displayed in Value of Selected Field. This field makes it easier to see data values that are too long to display in the table. If you edit a value in Value of Selected Field, it is updated in the table.
    Test entry fields with data