matlab.unittest.plugins.DiagnosticsOutputPlugin Class
Namespace: matlab.unittest.plugins
Superclasses: matlab.unittest.plugins.TestRunnerPlugin
, matlab.unittest.plugins.Parallelizable
Plugin that directs diagnostics to output stream
Description
The matlab.unittest.plugins.DiagnosticsOutputPlugin
class provides a plugin that directs diagnostics to an
output stream. To control the type and amount of diagnostic information to display, add this
plugin to the test runner.
The matlab.unittest.plugins.DiagnosticsOutputPlugin
class is a handle
class.
Creation
Description
plugin = matlab.unittest.plugins.DiagnosticsOutputPlugin
creates
a plugin that displays diagnostics for failing events and events logged at the
matlab.automation.Verbosity.Terse
level. By default, the plugin directs
its text output to the screen.
plugin = matlab.unittest.plugins.DiagnosticsOutputPlugin(
creates a plugin that directs its data to the specified output stream.stream
)
plugin = matlab.unittest.plugins.DiagnosticsOutputPlugin(___,
specifies options using one or more name-value arguments in addition to any of the input
argument combinations in previous syntaxes. For example, Name=Value
)plugin =
matlab.unittest.plugins.DiagnosticsOutputPlugin(IncludingPassingDiagnostics=true)
creates a plugin that displays both the failing and passing event diagnostics.
Input Arguments
Name-Value Arguments
Properties
Examples
Version History
Introduced in R2018b