5.4 Test Reports
A set of report files is created for every test run. These report files
can be found in the report directory you specify. After a test run is completed,
the JavaTest harness writes HTML reports for the test run. You can view these
files in the JavaTest ReportBrowser when running in GUI mode, or in the web
browser of your choice outside the JavaTest interface.
To see all of the HTML report files, enter the URL of the report.html file. This file is the root file that links to all of the other
HTML reports.
The JavaTest harness also creates a summary.txt file
in the report directory that you can open in any text editor. The summary.txt file contains a list of all tests that were run, their test results,
and their status messages.
5.4.1 Creating Test Reports
To Create a Test Report in GUI Mode
Click Report->Create Report from the JavaTest
main menu. You are prompted to specify a directory to use for
your test reports. The default location is <TS_HOME>/src/com/sun/ts/tests/signaturetests/saaj.
Specify the directory you want to use for your reports, and then
click OK. Use the Filter drop-down
list to specify whether you want to generate reports for the current configuration,
all tests, or a custom set of tests.
You are asked whether you
want to view report now.
Click Yes to display the new report in the
JavaTest ReportBrowser.
To Create a Test Report in Command-Line Mode
5.4.2 Viewing an Existing Test Report
To View an Existing Report in GUI Mode
Click Report->Open Report from the JavaTest
main menu. You are prompted to specify the directory containing
the report you want to open.
Select the report directory you want to open, and then click Open. The selected report set is opened in the JavaTest
ReportBrowser.
To View an Existing Report in Command-Line Mode
|