The following lists the batch commands used to set the Standard Values in the current configuration:
concurrency
number
env
environment
envFile
environment-file
excludeList
exclude-list-file
keywords
keyword-expr
params
parameter-arguments
priorStatus
status-arguments
tests test-name
timeoutFactor number
concurrency
number
Specifies the number of tests run concurrently. If you are running the tests on a multi-processor computer, concurrency can speed up your test runs.
Example:
..;concurrency 2
;..
env
environment
Specifies a test environment in an environment file. This is only used with envFiles
of test suites that use parameter (.jtp) and environment (.jte) files.
Example:
..;env testsystem
;..
envFile
environment-file
Specifies an environment file (.jte) containing test environments that the JavaTest harness uses to run older test suites. The environment file is not used by newer test suites that use a configuration (.jti) file.
Example:
..;envFile test.jte
;..
excludeList
exclude-list-file
Exclude list files contain a list of tests that are not to be run. Exclude list files conventionally use the extension .jtx and are normally supplied with a test suite.
Example:
..;excludeList sample.jtx
;..
keywords
keyword-expr
Restricts the set of tests to be run based on keywords associated with tests in the test suite
Example:
..;keywords interactive
;..
params
parameter-arguments
These commands are deprecated. However, for backwards compatibility, if you are running a test suite that uses a parameter file (.jtp
) you can continue to use the params
command and its arguments to set parameter values when starting the JavaTest harness. Refer to Parameter Commands for detailed information about using the params
command.
priorStatus
status-arguments
Selects the tests included in a test run based on their outcome on a prior test run. The status-arguments that can be used are "pass," "fail," "error," and "notRun." If you use more than one argument, each argument must be separated by a comma.
Example:
..;priorStatus fail,error
;..
tests test-name
Create a list of test directories and/or tests to run. The JavaTest harness walks the test tree starting with the sub-branches and/or tests you specify and executes all tests that it finds (unless they are filtered out).
Example:
..;tests api
;..
timeoutFactor number
Increases the amount of time that the JavaTest harness waits for a test to complete before moving on to the next test. Each test's timeout limit is multiplied by the time factor value. For example, if you specify a value of "2", the timeout limit for tests with a 10 basic time limit becomes 20 minutes.
Example:
..;timeoutFactor 2
;..