runtests
)Use the runtests
command to run the tests specified in the configuration.
> javatest [Monitor option] [Setup commands] ... -runtests
...
See About the Command-Line Examples for a description of the use of > javatest in the example.
You can also use the runtests
command as part of a sophisticated command sequence that resembles and functions as a script. You can include command files and multiple commands in the same command string to programmatically perform repeated, multiple test runs of different configurations without starting the JavaTest harness GUI.
See Using Command Files for detailed information about creating and using command files.
A Monitor option can be set in the command line to display test progress information during the test run. See Monitor Test Progress Option for detailed information about setting this option.
When creating the command string to run one or more tests, include the commands in the following sequence:
runtests
command.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 -runtests
See Formatting a Command for descriptions and examples of other command formats that you can use.