...
Table of Contents | ||
---|---|---|
|
Configuring the Settings
...
Jtest
...
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 jtestcli.properties
...
file shipped in [INSTALL_DIR].
Conditional Content | ||||||
---|---|---|---|---|---|---|
| ||||||
For your convenience, you can also store common settings in a |
You can also create a custom . properties file and pass it to the
...
jtestcli
the jtestcli
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.
...
Code Block |
---|
jtestcli -settings path/to/settings.properties -settings path/to/another/settings.properties |
Settings Hierarchy
General settings are applied in the following order:
...
[INSTALL_DIR]/etc/jtestcli.properties
: the base configuration file that should not be modified.
Conditional Content product: (jtest) product: (jtest) sv-attr:0A01020401598D973E6641760F8AF4E50A01020401598D973E671AAA268425A3 [INSTALL_DIR]/jtestcli.properties
: the main configuration file you can use to specify your settings that map contains templates for commonly used settings (license, reporting etc.).
Conditional Content product: (jtest) product: (jtest) sv-attr:0A01020401598D973E6641760F8AF4E5 0A01020401598D973E671AAA268425A3[USER_HOME]/jtestcli.properties
: 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).
Conditional Content product: (jtest) product: (jtest) sv-attr:0A01020401598D973E6641760F8AF4E5 0A01020401598D973E671AAA268425A3[WORKING_DIR]/jtestcli.properties
: 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
)Conditional Content product: (cpptest, jtest) product: (cpptest, jtest) 6.sv-attr:0A01020401598D973E6641760F8AF4E5 0A01020401598D973E6749C5267CE6FE 0A01020401598D973E671AAA268425A3 .
Custom settings passed with the command line switch
-property [key=value].
All of the above settings can be overridden by custom settings that are passed with command line switches (e.g. -report
, -config
).
Conditional Content | ||||||
---|---|---|---|---|---|---|
| ||||||
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. |
Viewing Current Settings
...
Conditional Content | ||||||
---|---|---|---|---|---|---|
| ||||||
Ant and Maven PatternIf you use Ant or Maven, you can use the following pattern to view the current settings:
|
Conditional Content | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
JVM, Framework, and Application SetupThe following table describes additional configuration files for setting up Jtest DTP Engine.
|