In this section:
configuration.dir.builtin
This setting specifies the path to the directory that contains built-in test configurations.
Acceptable Values
| [path] | The path to the folder where the built-in test configurations are stored. |
|---|
Example Usage
configuration.dir.builtin=C:\\parasoft\\dottest\\configs\\builtin
configuration.dir.user
This setting specifies the path to the directory that contains user-defined test configurations.
Acceptable Values
| [path] | The path to the folder where user-defined test configurations are stored. |
|---|
Example Usage
configuration.dir.user=C:\\parasoft\\dottest\\configs\\user
dottest.configuration
This setting allows you to specify the test configuration that will be used for analysis if the -config option is not specified (see Configuring Test Configurations for details).
Acceptable Values
| [configuration name] | The name of a built-in, user-defined or DTP-hosted test configuration. |
|---|
Example Usage
The following configuration will run the analysis with the Recommended Rules configuration when the -config option is not specified:
dottest.configuration=builtin://Recommended Rules
dottest.unit_testing.testing_projects
This setting allows you to exclude specified test projects from coverage collection in the CLI and IDE.
Acceptable Values
| [path] | A comma-separated list of projects to exclude from coverage collection. Wildcards are supported (e.g., *.DotTest). The default is: *.DotTest,*.Tests* |
|---|
Example Usage
With the following configuration, coverage will be collected for all test projects:
dottest.unit_testing.testing_projects=
dottest.tia.run_failed_tests
This setting enables or disables the re-execution of the tests that failed in the base run.
Acceptable Values
| true | Failed tests from the base run will be re-executed. |
|---|---|
| false | Default. Failed tests from the base run will not be re-executed. |
Example Usage
dottest.tia.run_failed_tests=false
dottest.rulewizard.enforceold
This setting allows you to specify which infrastructure will be used during analysis to execute the RuleWizard rules.
Acceptable Values
| true | Legacy infrastructure will be used (not supporting .NET projects) |
|---|---|
| false | Default. Roslyn engine will be used (supporting .NET projects) |
Example Usage
dottest.rulewizard.enforceold=false
Related
rule.dir.user
This setting specifies the location of user-defined coding standard rules and rule mapping files.
Acceptable Values
| [path] | The path to the directory that contains custom rules and rule mapping files. |
|---|
Example Usage
rule.dir.user=C:\\parasoft\\my_rulemap
Related
rules.mappings
This setting allows you to specify which rule mapping is applied to local and DTP test configurations.
Acceptable Values
| default | Default. Local mapping is applied to local test configurations, and DTP-shared mapping is applied to DTP test configurations. |
|---|---|
| all | Enables legacy behavior where local and DTP rule mappings are merged, and the resulting mapping is applied to all local or DTP-shared test configurations. |
Example Usage
The following configuration merges rule mappings defined locally with those stored on DTP:
rules.mappings=all