Run a Test

After you build a test, you are ready to run it. At run time, the SystemTest™ software assigns values to test vectors and test variables in the order they appear in the Test Vectors and Test Variables panes. Each test section runs elements in the order that they appear in the Test Browser.

To execute your test, do one of the following:

  • Click the Run button.

  • Select Run > Run.

  • Press the F5 key.

    Note:   While a test is running, you can stop its execution by pressing Ctrl+C or clicking the Stop button on the toolbar.

Track Output

While the test runs, the Run Status pane shows summary test output, including start and stop times, number of iterations completed, number of iterations that passed and failed, and final status of the test. It will also display any error messages if the test has an error.

If your test includes a Plot element, the SystemTest software creates the plot and updates the plot during each iteration. Since Limit Check elements evaluate whether an iteration passed or failed, they directly affect the data that appears in the Test Report and the Run Status pane.

In the example test, the plot includes the high and low limits defined in the Limit Check element, to show which test iterations exceed the limits.

When the test is done running, the Run Status pane provides links to generated output. The Generated Files section contains a summary of generated files, with links to them, such as the Test Report, saved test results, and the Simulink® model coverage report, if your test uses the model coverage feature.

Was this topic helpful?