Jump to main content
Home Tools Testwell CTC++ consists of several independent command-line based tools. Their purpose and usage is described in details here.The Postprocessor ctcpost With the tool ctcpost , a text report and several exchange formats can be generated from the raw coverage data. It can also be used to combine symbolfiles or datafiles. Further, ctcpost can be used to display a listing of the contents of symbolfiles or datafiles. Special Options of ctcpost
Tools Testwell CTC++ consists of several independent command-line based tools. Their purpose and usage is described in details here.The Preprocessor ctc Measuring code coverage or timing of a program takes place with an instrumented version of the program. The instrumentation is done with the preprocessor ctc . The Wrapper ctcwrap In productive use, the instrumenting tool ctc is often not used directly, but has to integrate with an existing build process. ctcwrap is one of the tools that can be used for that purpose, the other one is, for Windows, ctclaunch . The Launcher ctclaunch In productive use, the instrumenting tool ctc is often not used directly, but has to integrate with an existing build process. ctclaunch is for Windows one of the tools that can be used for that purpose, the other one is ctcwrap . The Postprocessor ctcpost With the tool ctcpost , a text report and several exchange formats can be generated from the raw coverage data. It can also be used to combine symbolfiles or datafiles. Further, ctcpost can be used to display a listing of the contents of symbolfiles or datafiles. The HTML Report Generator ctc2html With ctc2html , an HTML report about the coverage data is generated from an execution profile listing and the original source code. The text-to-dat Converter ctc2dat If the HOTA is used, the coverage data is written in textualized form, usually to a text file MON.txt. With ctc2dat , this input is converted to the standard datafile format ("MON.dat"). The Text Report Comparator ctcdiff With the tool ctcdiff , two text reports from different test runs can be compared. The XML-Merging Tool ctcxmlmerge XML reports for different build variants of the same code base can be merged with the tool ctcxmlmerge .
Special Options of ctcpost
-w report-width
The integer argument limits the number of characters in a long line in the text report, longer lines are truncated. The default is 4096.
-nhe
(no header extraction). By default, instrumented headers are reported as their own file entities. With this option, the headers are reported inside their including code files.