Previous Topic Next topic Print topic


To use test coverage from the command line

Note: This facility is supported in native COBOL only.
  1. Create a test coverage configuration file.
  2. Build your application with the TESTCOVER compiler directive set.
  3. Set the TESTCOVER environment variable.

    The value of the variable should be the path of the test coverage configuration file.

  4. Run your application.

    Depending on how you set the options in your configuration file, one or more results (.tcz) files are created.

  5. If you want test coverage to report on tagged lines, create a tag file.
  6. Use TCReport to produce reports from the results files. If you want to include information on tags, set the taglines option.
Previous Topic Next topic Print topic