Use the Unit Test Runner Results viewer to see test results, set options for handling
errors or failures, and export configurations.
About this task
Unit test runner results are generated when you run a test case. The test
results are stored in a file in the location you point to in the launch configuration.
Procedure
- To open the Unit Test Runner Results viewer, double-click the test results
file.
The Unit Test Runner Results viewer opens. It contains a list of test cases
run and the results for each test. When you click an item on the list, the content on the right side
of the window changes to show information relevant to the item selected:
-
Unit test runner results Selecting this item opens Total results
and settings.
- Test case Selecting a test case opens Test case
details.
- Test Selecting a test opens Test details where you
can see its information such as its name (and its description if you enable the Show test
description in the result view option in ),
result, and program type.
- File compare result: Compare results between the output file and the
specified existing file.
- Exception message Selecting an exception message opens
Exception details.
- Show file compare result: Clicking this link to view the file compare
result generated by the SuperC Compare Utility.
The fields in the test result details areas are read only. You cannot change the values in
these fields.
- To find a specific test case or test, type a filter in
the field.
- To expand or collapse the entries in the list, click + or -.