Setting File I/O options for a test case
Use the ZUnit category in the property group editor to set File I/O options for a COBOL or PL/I program.
About this task
You can use external files to provide input and expected output for a test case. You
can use file I/O for a test case in the following ways:
- Specify an existing file as the input file and as the expected output file for each test entry.
- Specify an existing file as the input file or specify test data in the Test Case Editor to generate an input working file.
- Specify an existing file as the expected output file. After executing the test case, ZUnit uses the SuperC Compare Utility to compare a generated output working file with the specified file and then shows the result.
- Specify test data as expected output values in the Test Case Editor to validate the generated output file.