Create/modify a test case from TOURFILE.cbl
Use the Create/modify test case window to create/modify a test case from the TOURFILE.cbl sample program.
Creating or modifying a test case
Before you begin
This procedure uses a sample program included with IBM® Developer for z/OS®. It also uses a remote z/OS project that was created by the sample setup procedure. Before using this procedure, set up the sample file and project by using the instructions in Setup instructions for TOURFILE.cbl and Setup instructions for ZUnit test case.
Procedure
- In the z/OS Projects view, expand .
-
Right-click the TOURFILE.cbl source file and click .
The Create/modify test case window opens.
- Click Options. The Preferences window opens.
Confirm that the Capture file I/O option is checked. If you do not want to
capture file I/O but want to use an existing file, see Using existing files for input and output data. The Data set name, Test data layout, and Test data fields are populated with default data set names that are defined in the property group AZUDRCOB that is associated with the project.
- Click OK after you finish checking the preferences.
- To edit the test data for this test case, click Next.
Results
Capture file I/O
is true
in the
Properties view.
