To report on tagged lines

To be able to produce a test coverage report with information specific to tagged lines, you must first enter tags in your source code. You can produce the report using cobtcreport (UNIX) or TCReport (Windows).

Before you can format and display a report, you must create a test coverage binary file (a .tcz file) by running test coverage.

  1. Enter the command:
    Windows:
    tcreport filename taglines(tagfile) [options]
    UNIX:
    cobtcreport filename taglines(tagfile) [options]

    where filename is the .tcz file you are using to create the report, tagfile is the file that specifies the tags to be used, and options are other cobtcreport (UNIX) or tcreport (Windows) options.

    For example:

    Windows:
    tcreport myreport.tcz taglines(tagfile.txt)
    UNIX:
    cobtcreport myreport.tcz taglines(tagfile.txt)