To preconfigure C++test during installation:
- Create a localsettings file localsettingsfile that includes the options you want to preconfigure the installation with. An example is provided below. For more details, see Configuring Localsettings.
Pass that localsettings file localsettingsfile to the installer using the
--configureparameter. For example:
The localsettings file will be copied into the root directory of Parasoft Test as
parasofttest.ini. Settings from that file are used to initialize a clean workspace during startup in UI mode.
/DIR=<location>: Destination location for C++test's files.
/ParasoftTestDir=<location>: Destination location for Parasoft Test's files (use this option if Parasoft Test is not already installed).
/RootSuffix=<suffix>: Root suffix.
C++test can also check any number of custom rules that you design with the RuleWizard module. With RuleWizard, rules are created graphically (by creating a flow-chart-like representation of the rule) or automatically (by providing code that demonstrates a sample rule violation). By creating and checking custom rules, teams can verify unique project and organizational requirements, as well as prevent their most common errors from recurring.
For details on performing static code analysis, see Static Code Analysis.