Batch Mode Option

You can use the -batch mode option and its commands to configure and run one or more tests or branches of tests, write test reports, and audit test results either from the command line or as a part of a product build process. The commands used with -batch are a formatted set of commands, executed in the sequence that they appear in the command string. See Formatting a Batch Command for a description of the formats you can use.

You should use the commands in the command string much as you would if you were writing a script:

  1. Initialize a configuration. See Initialize a Configuration for detailed information.
  2. Modify the current configuration (if required). See Set Standard Values and Set Other Configuration Values for detailed information.
  3. Specify the task performed. See Run Tests in Batch Mode, Write Reports in Batch Mode, and Audit Tests in Batch Mode for detailed information.

See Specify Additional Options for additional settings that can be used to start the JavaTest harness. If used, these options are included before the -batch option.

The topics in this section are:

The next possible topic in the batch mode sequenceFormatting a Batch Command

The next possible topic in the batch mode sequenceInitialize a Configuration

The next possible topic in the batch mode sequenceSet Standard Values

The next possible topic in the batch mode sequenceSet Other Configuration Values

The next possible topic in the batch mode sequenceRun Tests in Batch Mode

The next possible topic in the batch mode sequenceWrite Reports in Batch Mode

The next possible topic in the batch mode sequenceAudit Tests in Batch Mode

The next possible topic in the batch mode sequence Index of Available Batch Commands