Running a test case from a source file
To run a test case from a source file, select the file and then select
.Before you begin
You must generate and build a test case
from the source file. For instructions for generating and building
a test case, see these topics:
If you want to run a test case that simulates VSAM file
I/O operations, allocate the necessary data sets and specify DD statements
for file I/O in the Additional JCL field of
the Procedures and Steps page on the ZUnit tab
of the property group that is associated with the test case. To edit
the Additional JCL field, expand the AZUZUNIT JCL
procedure, and then select the RUNNER step.
Tip: For test cases that simulate QSAM file I/O operations,
ZUnit allocates the necessary data sets and generates the necessary
DD statements when it generates the JCL for running the test case.
Procedure
Results
- Generates a test runner configuration file with the properties that you specified in the property group.
- Runs the test case. ZUnit submits a JES job to run the test runner with the uploaded runner configuration file.
- If the test runner is successful, it generates a test result file with the properties that you specified in the property group.
- Opens the result file in the IBM z/OS Automated Unit Testing Framework (ZUnit) Runner Results viewer.
What to do next
For help with any error messages that are displayed
as a result of errors in your test case, property group, configuration
file, or the test runner job submission, see the following topics: