Command-Line Operations

In command mode, you can use one or more commands to configure and run tests or branches of tests, write test reports, and audit test results. The command mode operations can be performed either from the command line or as a part of a product build process.

The commands are included as a formatted set of commands, used with the -batch option, and executed in the sequence that they appear in the command string. See Formatting a Command for a description of the formats you can use.

You should include commands in the command string as if you were writing a script to:

  1. Initialize a configuration. See Initializing a Configuration for detailed information.
  2. Modify the configuration (if required). See Setting Standard Values and Setting Test Suite Specific Values for detailed information.
  3. Perform one or more tasks such as Running Tests, Writing Reports, and Auditing Tests.

See Specifying JavaTest Options for additional settings that can be used to start the JavaTest harness. If you specify these options, you must include them before the -batch option and its commands.

The topics in this section are:

The next possible topic in the batch mode sequenceFormatting a Command

The next possible topic in the batch mode sequenceInitializing a Configuration

The next possible topic in the batch mode sequenceSetting Standard Values

The next possible topic in the batch mode sequenceSetting Test Suite Specific Values

The next possible topic in the batch mode sequenceRunning Tests

The next possible topic in the batch mode sequenceWriting Reports

The next possible topic in the batch mode sequenceAuditing Tests

The next possible topic in the batch mode sequenceIndex of Available Commands