Jump to main content
Testwell CTC++ Help
,
Version 9.1.4
Getting Started
Tools
How To...?
Reference and Details
Search
Home
Reference and Details
Background information about Code Coverage and all kind of settings like configuration parameters, pragmas etc. are found here.
Configuration of
Testwell CTC++
Reference and Details
Background information about Code Coverage and all kind of settings like configuration parameters, pragmas etc. are found here.
Code Coverage in
Testwell CTC++
Code coverage is a measure on how thoroughly the program code has been exercised during test. The definitions of different coverage levels
Testwell CTC++
is using are described here.
The Instrumentation Modes of
ctc
With the different instrumentation modes for coverage and for timing, different structures of the source code are instrumented.
Configuration of
Testwell CTC++
Configuration File
Configuration files (
ctc.ini
) store compiler-specific settings and a connection string to the license used by
Testwell CTC++
.
Hierarchy of Configuration Files and Command Blocks
Configurations files are looked up from several locations, and determine the settings in a certain order.
Configuration Parameters
Configuration parameters are used with
Testwell CTC++
to achieve three general goals: Setting of user/ project depending decisions; configuring a specific compiler; adapting to rare language and environment restrictions.
About Dynamic Analysis in
Testwell CTC++
The examination of the run-time behavior of a program is called dynamic analysis. Beyond code coverage,
Testwell CTC++
can analyze the execution time of functions.
Special "-hard" Mode of
ctcwrap
There is a special option,
-hard
, that can be used with
ctcwrap
in some situations, changing the behavior of
ctcwrap
completely.
Error Messages
The error and warning messages of the different tools of
Testwell CTC++
can be found here.
Reference of Pragmas
In general, no change in the source code is necessary to use
Testwell CTC++
. In some use cases, specific
#pragma
instructions can be used to customize the behavior in detail.
Environment Variables
Testwell CTC++
uses several dedicated environment variables, and some generic ones. They can be setup system wide, user specific or temporarily in the current session as supported by the underlying operating system.
Conceptual Limitations of Instrumentation
With the
Testwell CTC++
approach, there are a few language elements that cannot be instrumented in general. This collection provides the reasons for these limitations as well as some ways to cope with them.
License Handling
Testwell CTC++
uses FlexNet Publisher from revenera for license management. Licenses are managed on a license server (floating licenses) or provided in a license file located at the client side (e.g., evaluation licenses).
Configuration of
Testwell CTC++
Configuration File
Configuration files (
ctc.ini
) store compiler-specific settings and a connection string to the license used by
Testwell CTC++
.
Hierarchy of Configuration Files and Command Blocks
Configurations files are looked up from several locations, and determine the settings in a certain order.
Configuration Parameters
Configuration parameters are used with
Testwell CTC++
to achieve three general goals: Setting of user/ project depending decisions; configuring a specific compiler; adapting to rare language and environment restrictions.