You can open an existing configuration file and then specify one or more individual
tests or branches of tests for the test run. Use the
tests
command to specify one or more tests:
> javatest ... [initial set-up commands] ...
-tests api/javax_swing api/java_awt
... [task command] ...
See About the Command-Line Examples for a description of the use of > javatest in the example.
The path used for setting the test or folder of tests to be run is the same as that displayed in the GUI tree folder. One or more tests can be specified.
When specifying tests for a test run, include the commands in the following sequence:
api/javax_swing
and api/java_awt
)runtests
(optional).See Command-Line Overview for a detailed description of the command line structure.
In the following example, myconfig.jti
and myexcludelist.jtx
represent file names that might exist on your system.
Command Options Format Example:
> javatest -config
myconfig.jti
-runtests
See Formatting a Command for descriptions and examples of other command formats that you can use.