sltest.plugins.TestManagerResultsPlugin class
Package:sltest.plugins
Generate enhanced test results with theMATLABUnit Test framework
Description
Use thesltest.plugins.TestManagerResultsPlugin
class to include Test Manager results when using the MATLAB®Unit Test framework to run金宝app®Test™files. Test Case and Test Iteration results appear in theDetailsfield of eachTestResult
object.
To publish Test Manager results, configure your test file for reporting and add theTestReportPlugin
andTestManagerResultsPlugin
classes to theTestRunner
object. Test Case and Test Iteration results appear in theDetailssection of the MATLAB Test Report. For more information, seeTest a Model for Continuous Integration Systems.
Creation
creates antmr
= sltest.plugins.TestManagerResultsPluginsltest.plugins.TestManagerResultsPlugin
plugin objecttmr
. You use the plugin object only to direct theTestRunner
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