The Total Coverage Analysis (TCA) add-on reports which parts of your program have actually been tested by Insure++ and how often each block of code was executed. Using TCA with Insure++ can dramatically improve the efficiency of your testing and guarantee faster delivery of more reliable programs.

Running TCA on Windows

Insure++ tracks code coverage information in a file called tca.log. This file is located in the same directory that your executable was built into. If you want Insure++ to generate coverage information, you must enable the Generate coverage map data option in the Compile tab of the Insure++ Control Panel.

You can analyze Insure++ coverage from the command line or through the TCA GUI:

  1. Choose the TCA icon in the Windows Start menu or click the TCA icon on the Visual Studio toolbar.
  2. Choose File> Load in the TCA window and select the tca.log file located in your program's directory. You can also click the Load button in the TCA GUI.

To review code coverage information from the command line from the command line, type: tca tca.log. For command line options, type: tca. For more information, see Analyzing Coverage with TCA.

Running TCA on Unix

Insure++ tracks code coverage information in a file called tca.log. This file is located in the same directory that your executable was built into. 

You can analyze Insure++ coverage from the command line or through the TCA GUI. Choose File> Load in the TCA window and select the tca.log file located in your program's directory.

Use the following command to review code coverage information from the command line:

tca tca.log

For command line options, type tca.

  • No labels