About test reports

Test reports are displayed in the test report viewer.

The Report Explorer displays each element of a test report with a Passed or Failed symbol.
  • Elements marked as Failed are either a failed test, or an element that contains at least one failed test.
  • Elements marked as Passed are either passed tests or elements that contain only passed tests.
Test results are displayed for each instance, following the structure of the test harness.
Each test report contains a report header containing the following elements:
  • The version of the product used to generate the test and the timestamp of the test report.
  • The path and name of the project files used to generate the test.
  • The total number of test cases Passed and Failed.
These statistics are calculated from the actual number of test elements listed in the report.
The graphical symbols in front of the node indicate if the test harness, test case, or variable check is Passed or Failed. A test is failed if it contains at least one failed variable check. Otherwise, the test is considered passed. Click the Information button to obtain the following information:
  • Number of tests run
  • Number of tests passed
  • Number of tests failed
A variable check is failed if the expected expression and the obtained value are not identical, or if the obtained value is not within the expected range.

If a variable belongs to an environment, an environment header is edited. In the report, variables are edited according to the value of the Display variables setting for the test harness. The following table summarizes the editing rules:

Table 1.
Result Display variables = All variables Display variables = Incorrect variables Display variables = Failed tests only
Passed Variable edited automatically Variable not edited Variable not edited
Failed Variable edited automatically Variable edited automatically Variable edited if incorrect