priorStatus
)Tests can be selected for a test run based on their prior test status. Use the
priorStatus
command to run tests based on their results from a previous test run:
> javatest ... [initial set-up commands] ... -priorStatus fail,error
... [task command] ...
See About the Command-Line Examples for a description of the use of > javatest in the example.
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.
When creating a command string to specify the prior test status, include the commands in the following sequence:
priorStatus
status-arguments)runtests
(optional).See Command-Line Overview for a detailed description of the command line structure.
In the following example, myconfig.jti
represents a configuration file name that might exist on your system.
Command Options Format Example:
> javatest
-config
myconfig.jti
-priorStatus fail,error -runtests
See Formatting a Command for descriptions and examples of other command formats that you can use.