Package: sltest.plugins
Generate enhanced test results with the MATLAB Unit Test framework
Use the sltest.plugins.TestManagerResultsPlugin
class to include
Test Manager results when using the MATLAB® Unit Test framework to run Simulink®
Test™ files. Test Case and Test Iteration results appear in the
Details field of each TestResult
object.
To publish Test Manager results, configure your test file for reporting and add the
TestReportPlugin
and TestManagerResultsPlugin
classes to
the TestRunner
object. Test Case and Test Iteration results appear in
the Details section of the MATLAB Test Report. For more information, see Test a Model for Continuous Integration Systems.
creates a plugin object tmr
= sltest.plugins.TestManagerResultsPlugintmr
that directs the
TestRunner
to produce an enhanced test result.
You can also import the plugin, and then use the class name to create the object:
import sltest.plugins.TestManagerResultsPlugin tmr = TestManagerResultsPlugin