Use the -writereport command in the command line as a separate command or as part of a series of task commands (such as run tests and audit test results). Use a web browser to view the reports.
Because the JavaTest harness executes commands in their command-line sequence, you must identify the work directory before the -writereport
command and provide the report directory as an option after the command:
> javatest ... -workdir
mywork-directory -writereport
myreport-directory
See About the Command-Line Examples for a description of the use of > javatest in the example.
See Command-Line Overview for a detailed description of the command line structure.
In the following example, myworkdirectory represents a work directory name that might exist on your system.
Command Options Format Example:
> javatest -workdirectory
myworkdirectory -writereport
myreport-directory
See Formatting a Command for descriptions and examples of other command formats that you can use.