Documentation

Test Results and Reporting

View, export, and report test results, and customize reports using templates.

Functions

sltest.testmanager.importResultsImport Test Manager results file
sltest.testmanager.exportResultsExport results set from Test Manager
sltest.testmanager.getResultSetsReturns result set objects in Test Manager
sltest.testmanager.clearResultsClear results from Test Manager
sltest.testmanager.reportGenerate report of test results

Classes

sltest.testmanager.ResultSetAccess results set data
sltest.testmanager.TestFileResultAccess test file results data
sltest.testmanager.TestSuiteResultAccess test suite results data
sltest.testmanager.TestCaseResultAccess test case results data
sltest.testmanager.TestIterationResultAccess test iteration result data
sltest.testmanager.CustomCriteriaResultView custom criteria test result
sltest.testmanager.OptionsTest file options
sltest.testmanager.DiagnosticRecordView custom criteria diagnostic information
sltest.testmanager.TestResultReportCustomize generated results report

Topics

Test Sections

Configure test cases.

Results Sections

Double-click a test case results in the Results and Artifacts pane to open a results tab and view the test case result sections.

Customize Test Reports

You can choose how to format and aggregate test results by customizing reports.

Manage Test File Dependencies

Track and manage dependencies for complex test files.

Collect Coverage in Tests

Use coverage measurement to assess the extent of your tests.

Create, Store, and Open MATLAB Figures

Generate figures with results and reports using MATLAB® commands.

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.

Examine Test Failures and Modify Baselines

Examine signals in test failures, update baselines with current data.

View Graphical Results From Model Verification Library

Simulink® Test™ outputs graphical results of the Model Verification block library so you can use the Test Manager or Simulation Data Inspector to see when your test assessments pass and fail.

Export Test Results and Generate Reports

Once you have run test cases and generated test results, you can export results and generate reports.

Append Code to a Test Report

This example shows how to use a customization class to include code in your test report.

Test Manager Limitations

Understand Test Manager limitations for specific scenarios.

Was this topic helpful?