In this section:
Configuring the Settings
dotTEST DTP Engine can be configured with settings (see Configuration Settings) that should be specified in a .properties file. The basic settings are listed in the dottestcli.properties
file shipped in [INSTALL_DIR].
By default, most settings are disabled. Uncomment the settings you want to enable and specify the parameters. Modifying the properties file may require administrator access.
You can also create a custom . properties file and pass it to dottestcli
with the -settings switch.
You can use the -settings
switch multiple times to specify several .properties files. Entries with the same key will be overwritten.
dottestcli.exe -solution "C:\Devel\FooSolution\FooSolution.sln" -settings "C:\Devel\Settings\dtp_server.properties" -settings "C:\Devel\Settings\email_server.properties"
Settings Hierarchy
General settings are applied in the following order:
[INSTALL_DIR]/etc/
dottestcli.properties
: the base configuration file that should not be modified.[INSTALL_DIR]/dottestcli.properties
: the main configuration file you can use to specify your settings that map contains templates for commonly used settings (license, reporting etc.).Custom settings passed with the command line switch
-settings path/to/settings.properties
(e.g.,-settings ../settings.properties
)
All of the above settings can be overridden by custom settings that are passed with command line switches (e.g. -report
, -config
).
If you have dotTest 9.5 or later, settings can be prepared in Visual Studio and exported to a *.properties file.
Viewing Current Settings
Use the -showsettings
option to print the current settings and customizations, including the origin file for each configuration.
Auto-configuring Settings from DTP Server
You can specify settings in Development Testing Platform and configure dotTESTto use the settings when it connects to DTP Server. This enables you to use the same settings across multiple machines and configurations to ensure consistency. Edit the following setting in the dottestcli.properties
file to enable auto-configuration:
dtp.autoconfig=true
Settings can be auto-configured for the entire organization or per project.
Specifying Organization-wide Settings
- Log into Development Testing Platform with administrator credentials
- Switch to Report Center and click the administration link.
- Choose Settings> Parasoft Test and enter the settings from dottestcli.properties
- Click Save.
Specifying Settings Per Project
- Log into Development Testing Platform with administrator credentials
- Switch to Report Center and click the administration link.
- Choose Projects> Search and click Search
- Click on your project name in the results and click the Parasoft Test Settings tab
- Enter the settings from
dottestcli.properties
and click Save.