Jump to main content
Testwell CTC++ Help
,
Version 10.0.0
Getting Started
General Working Principles
Tools
Integrations
Reference
Search
Home
Reference
This part contains kind of settings like configuration parameters, pragmas, environment variables and so on. License handling, error Messages and limitations of instrumentation are described.
Configuration of
Testwell CTC++
Reference
This part contains kind of settings like configuration parameters, pragmas, environment variables and so on. License handling, error Messages and limitations of instrumentation are described.
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.
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.
Further settings for instrumentation
During instrumentation, several macros can be defined for the
ctc
call.
Error Messages
The error and warning messages of the different tools of
Testwell CTC++
can be found here.
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).
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.
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.