Note: This applies to native COBOL only.
- Create a test coverage configuration file.
- Build your application with the TESTCOVER compiler directive set.
- Set the TESTCOVER environment variable.
The value of the variable should be the path of the test coverage configuration file.
- Run your application.
Depending on how you set the options in your configuration file, one or more results (.tcz) files are created.
- If you want test coverage to report on tagged lines, create a tag file.
- Use
TCReport to produce reports from the results files. If you want to include information on tags, set the
taglines option.