Generating New Reports

The JavaTest harness does not automatically generate reports of test results after a test run. You can generate test reports either from the command line in batch mode (see Writing Reports in Batch Mode) or from the JavaTest GUI. To generate a test report from the JavaTest GUI, you must:

  1. Choose Report > New Report from the Test Manager menu bar. The JavaTest harness opens the New Report dialog box.
The New Report dialog box
  1. Type the name of a report directory in the Directory field or click the Browse button to specify where to put the new reports. You can either specify a new directory or an existing directory. If you ran reports earlier, it displays the directory from the previous run. If you use an existing report directory, the JavaTest harness saves the previous reports as backups and then writes the new reports.
  2. Choose a filter option to generate reports. You can use the Current Configuration filter, All Tests filter, or a custom filter that you have created. Using a custom filter allows you to generate test reports for a specific set of test criteria.
  3. After specifying a report directory and choosing a filter, click the OK button to generate new reports.

The JavaTest harness writes the reports and then displays a dialog box that gives you the option of either viewing the new reports in the report browser or returning to the Test Manager window.

Copyright (c) 2002 Sun Microsystems, Inc. All rights reserved.