runtests
Use the runtests
command to run the tests specified in the configuration.
> jtharness [monitor-option] [setup-commands] ... -runtests
...
See About the Command-Line Examples for a description of the use of > jtharness in the example.
See Command-Line Overview for a detailed description of the command-line structure.
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 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:
See Monitoring Test Progress With
verbose
for detailed information about the command.
See Setup Commands for detailed description of the available commands.
runtests
command.runtests
Command In the following example, myconfig.jti
represents a configuration file name that might exist on your system.
Command Options format example:
> jtharness -config
myconfig.jti -runtests
See Formatting a Command for descriptions and examples of other command formats that you can use.
Copyright © 2002, 2009, Oracle and/or its affiliates. All rights reserved.