Generating and editing PL/I test cases

The z/OS® Automated Unit Testing Framework (ZUnit) provides tools for setting property group options for ZUnit, creating/modifying test cases for Enterprise PL/I source programs, adding test data to test cases, and building and running test cases.

About this task

To unit test an Enterprise PL/I program with ZUnit, do these tasks:
  1. Set property group options for generating, compiling and linking, and running a test case.
  2. Create/modify a test case program and any stub programs required for external subroutines or file I/O operations.
  3. Add data to the test entries.
  4. Build the source program, the test case, and the stub programs.
The following topics explain how to complete each of these tasks.

Example

For an example of using these tools to generate and run a test case, see the Enterprise PL/I AZUTC005 sample test case (for AZUTSTRN runner) sample program.