In this section:
console.verbosity.level
This setting determines the amount of detail output to the console during analysis.
Acceptable Values
low | Errors and basic information about the current steps and status (done, failed, up-to-date) are shown. |
---|---|
normal | Default. Shows the same information as the low setting, but also includes command lines executed and issues reported during test and analysis. |
high | Shows the same information as normal, but also includes warnings. |
Example Usage
The following configuration outputs the most detail about the execution:
console.verbosity.level=high
Related
dottest.build.nobuild
This setting disables/ enables build of the tested solution or projects. If enabled, the building phase is skipped during analysis.
Acceptable Values
true | The building phase will be skipped during analysis. |
---|---|
false | Default. The tested solution or project will be built. |
Example Usage
The following configuration disables building of the project/solution:
dottest.build.nobuild=true
dottest.build.builder_id
This setting specifies which builder will be used to build solutions and projects before they are analyzed by dotTEST.
Acceptable Values
dotnet | Solutions and projects will be built with .NET SDK. |
---|---|
msbuild | Solutions and projects will be built with MSBuild. |
visualstudio | Solutions and projects will be built with Visual Studio. |
Example Usage
The following configuration specifies that MSBuild will be used to build solutions and projects before the analysis.
dottest.build.builder_id=msbuild
Related
dottest.build.dotnet_path
This setting specifies the path to the .NET SDK executable.
Acceptable Values
[path] | The path to the dotnet.exe on your system. |
---|
Example Usage
dottest.build.dotnet_path=C\:\\dotnet\\dotnet.exe
dottest.build.solution_config
This setting specifies the solution configuration.
Acceptable Values
[solution configuration] | The name of the solution configuration. |
---|
Example Usage
The following configuration specifies that the solution configuration is "Release":
dottest.build.solution_config=Release
dottest.package.restore_timeout
This setting specifies the timeout value for restoring packages before the building phase.
Acceptable Values
[time in seconds] | The timeout for restoring packages. The default value is 360 . |
---|
Related
dottest.fail.setup.problems
This setting enables or disables returning the 0x40
exit code, which indicates that setup problems were reported when the process failed.
Acceptable Values
true | The process will exit with 0x40 if setup problems are reported. |
---|---|
false | Default. The process will never exit with the 0x40 . |
Related
file.encoding.mode
This setting specifies how file encoding is determined.
Acceptable Values
default | Enables use of system properties. |
---|---|
auto | Enables automatic detection of encoding for the Far-East languages specified with the file.encoding.lang property. |
user | Enables use of specified encoding by the file.encoding.name property. |
Example Usage
The following configuration enables file encoding based on the system settings:
file.encoding.mode=default
file.encoding.lang
This setting allows you to specify the language that will be automatically detected for file encoding. It requires the file.encoding.mode
property to be set to auto
.
Acceptable Values
1 | Japanese |
---|---|
2 | Chinese |
3 | Simplified Chinese |
4 | Traditional Chinese |
5 | Korean |
Example Usage
The following configuration enables Japanese encoding:
file.encoding.mode=auto
file.encoding.lang=1
file.encoding.name
This setting allows you to configure file encoding other than specified in the system settings. It requires the file.encoding.mode
property to be set to user
.
Acceptable Values
[encoding name] | The name of the encoding, for example ASCII-US, UTF-8, UTF-16, UTF-16LE, UTF-16BE. |
---|
Example Usage
The following configuration enables encoding in UTF-16.
file.encoding.mode=user
file.encoding.name=UTF-16
local.storage.dir
This setting specifies where analysis-related data should be stored (temporary data, data caches etc.)
Acceptable Values
[path] | The path to the folder where the data will be saved. |
---|
Example Usage
The following configuration stores the data in the temp
folder:
local.storage.dir=C:\\parasoft\\temp
parallel.mode
This determines which parallel processing mode is used. You may want to configure this setting to optimize testing and analysis execution according to your build schedule in CI environments.
Acceptable Values
disabled | Only one of the available CPUs |
---|---|
auto | Default. Allows the tool to control parallel processing settings. |
manual | Allows you to manually configure parallel processing settings to suit your specific needs. |
Example Usage
The following configuration disables parallel processing.
parallel.mode=disabled
Related
parallel.no_memory_limit
This setting enables/disables additional limits on the memory consumed by parallel processing.
Acceptable Values
true | There will be no additional limits on the memory consumed by parallel processing. |
---|---|
false | Default. Memory consumption associated with parallel processing will be limited. |
Example Usage
The following configuration allows for unlimited memory consumption by parallel processes (within system limits).
parallel.no_memory_limit=true
Related
parallel.free_memory_limit
This setting specifies the amount of memory that should be kept free in low memory conditions to ensure that free memory is available for other processes.
Acceptable Values
[percentage] | The percentage of the total memory available for the application. The default is |
---|
Example Usage
The following configuration ensures that 30% of the total memory of the application will be available for other processes.
parallel.free_memory_limit=30
parallel.max_threads
This setting specifies the maximum number of parallel threads that can be executed simultaneously. The actual number of parallel threads is determined by the number of CPUs, available memory, and license settings.
Acceptable Values
[number] | The maximum number of simultaneously executed parallel threads. The default value is equal to the number of CPUs. |
---|
Example Usage
The following configuration allows you to simultaneously execute two parallel threads:
parallel.max_threads=2
parasoft.user
This setting specifies a custom user name that will be associated with Parasoft artifacts, such as findings and data sent to DTP.
Acceptable Values
[name] | A custom user name. |
---|
Example Usage
The following configuration overrides the local user name configured in your system with a custom name "T12":
parasoft.user=T12
usage.reporting.enabled
This setting enables or disables collecting anonymous usage information and sending it to Parasoft. Read our privacy statement to learn more at https://www.parasoft.com/privacy-policy.
Acceptable Values
true | Usage data is sent to Parasoft. |
---|---|
false | Default. Usage data is not sent to Parasoft. |
Example Usage
The following configuration enables collecting usage data.
usage.reporting.enabled=true