sltest.plugins.ToTestManagerLog Class
Namespace: sltest.plugins
Output stream to write text to Test Manager result Logs for MATLAB-based Simulink tests
Description
The sltest.plugins.ToTestManagerLog creates and writes a text output
stream of log information to the Logs section of test results in the Test
Manager for the current TestCaseResult. Use this plugin with the matlab.unittest.plugins.DiagnosticsOutputPlugin. The
ToTestManagerLog plugin generates output only for MATLAB-based Simulink
tests, which are derived from sltest.TestCase objects.
The sltest.plugins.ToTestManagerLog class is a handle class.
Creation
Use matlab.sltest.plugins.ToTestMangerLog() with the
matlab.unittest.plugins.DiagnosticsOutputPlugin to write the diagnostics
output to the Test Manager logs. For example,
runner.addPlugin(DiagnosticsOutputPlugin...
(ToTestManagerLog());
Examples
Version History
Introduced in R2020b