In this section:
Jtest |
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
|
file shipped in [INSTALL_DIR].
For your convenience, you can also store common settings in a |
You can also create a custom . properties file and pass it to the
|
with the -settings switch.
Use absolute paths to specify the custom .properties file. |
You can use the -settings
switch multiple times to specify several .properties files. Entries with the same key will be overwritten.
|
General settings are applied in the following order:
|
: the base configuration file that should not be modified.
|
: the main configuration file you can use to specify your settings that map contains templates for commonly used settings (license, reporting etc.).
|
: for your convenience, you can store the configuration file in your home directory to overwrite settings from the [INSTALL_DIR] (for example, to ensure your settings are not affected by reinstallations or updates).
|
: for your convenience, you can store the configuration file in your working directory.
Custom settings passed with the command line switch -settings path/to/settings.properties
(e.g., -settings ../settings.properties
)
6. Custom settings passed with the command line switch |
All of the above settings can be overridden by custom settings that are passed with command line switches (e.g. -report
, -config
).
Ant and Maven PatternYou can provide the path to the settings file with Ant or Maven using the following pattern:
Settings Hierarchy for MavenIf you use Maven, you can configure jtestcli settings with:
Both
See the Jtest Goal page in plugins-manual.html for the complete list of parameters. It is recommended that you keep all user-level customizations, including custom settings, license, rules, test configurations, compiler configurations, outside of the Jtest installation directory so they are not affected by reinstallations or updates. |
Use the -showsettings
option to print the current settings and customizations, including the origin file for each configuration.
Ant and Maven PatternIf you use Ant or Maven, you can use the following pattern to view the current settings:
|
JVM, Framework, and Application SetupThe following table describes additional configuration files for setting up Jtest DTP Engine.
|