View Test Case Results

After a test case has finished running in the Test Manager, the test case result becomes available in the Results and Artifacts pane. Test results are organized in the same hierarchy as the test file, test suite, and test cases that were run from the Test Browser pane. In addition, the Results and Artifacts pane shows the criteria results and simulation output, if applicable to the test case.

View Results Summary

The test case results tab gives a high-level summary and other information about an individual test case result. To open the test case results tab:

  1. Select the Results and Artifacts pane.

  2. Double-click a test case result.

    A tab opens containing the test case results information.

Visualize Test Case Simulation Output and Criteria

You can view signal data from simulation output or comparisons of signal data used in baseline or equivalence criteria.

To view simulation output from a test case:

  1. Select the Results and Artifacts pane.

  2. Expand the Sim Output section of the test case result.

  3. Select the check box of signals you want to plot.

    The Visualize tab appears and plots the signals.

To view equivalence or baseline criteria comparisons:

  1. Select the Results and Artifacts pane.

  2. Expand the Baseline Criteria Result or Equivalence Criteria Result section of the test case result.

  3. Select the option button of the signal comparison you want to plot.

    The Comparison tab appears and plots the signal comparison.

To see an example of creating a test case and viewing the results, see Compare Model Output To Baseline Data.

Note

When you run a test multiple times, by default the new signals are added to the plot from previous test runs. To instead overwrite the plots with only the new results, right-click Sim Output and select Plot Signals > Overwrite.