After you run your test, use the test data comparator to view the
data produced by the test. For each input value in a test (single values or
elements of a set or range), the test data comparator view displays
the expected output values and the actual returned values.
Before any test data can be displayed, you must have executed a test
and successfully produced a test run.
To view the test results in the test data comparator view:
- In the Test Navigator, expand the Run folder
and select an individual test. Run information is displayed in
a hierarchical view. You can expand a test run to view the test suite run,
test case runs, data set runs, and each individual test run.
- Right-click the individual test run and click Open
Data Comparator. This opens the test data comparator
view.
- Select another individual test run to view the test data for that
input value.
The test data comparator view is similar to the test data table,
except that it also displays the actual results returned by the component-under-test,
and it is read-only. You can browse through the table to view the test data
produced by the test case for every input value in every data set.