Generating reports on JUnit tests and JUnit plug-in tests

After you have run your tests and generated execution histories, you can generate a report on those test results to summarize the data.

Generate the report:
  1. Right-click on a TPTP JUnit test in the Test Navigator and select Report... from the pop-up menu.
  2. The New Report dialog launches.
  3. Select the Time Frame Historic option then click on Next.
  4. Provide the parent folder and a name for the report, then click on Next and provide the report time frame Start and End dates.
  5. Click on Finish to generate the report.

Time Frame Historic report

There are 4 tabs in the report: Overview, By Test, By Log, and Details.

Overview Tab

The Overview report is a 3D pie chart showing the overall breakdown across all test runs during the specified period. In this example two-thirds (66.67%) of the tests failed and one-third (33.33%) were in error.

Pie chart showing 66.67% of the tests failed and 33.33% of the tests were in error.

By Test Tab

The By Test report shows the overall relative proportions of the categories Pass, Inconclusive, Fail, and Error.

Part of a bar chart showing that a portion of the test failed and a portion of the test was in error.

By Test Log Tab

The By Test Log report shows, for each test log, the overall relative proportions of the categories Pass, Inconclusive, Fail, and Error.

Part of a bar chart summarizing two tests. Both tests have part fail and part error.

Details Tab

The Details report is in 2 sections: Summary and Results by Test.

Summary

The Summary lists the following:

This section summarizes the outcomes for test runs taking place during the specified period. In this example, out of a total of 6 tests, there were 4 failed tests and 2 tests in error.

Results by Test

The Results by Test section is a table with eight columns:

This section tabulates the the test outcomes for each test log.