matlab.unittest.diagnostics Namespace
Summary of classes in MATLAB diagnostics interface
Description
Use diagnostics to convey important information from tests. To associate a
diagnostic message with a test, specify the diagnostic as an input to a matlab.unittest.qualifications
qualification method. In addition to the
diagnostics that you specify, the testing framework provides specific diagnostic information
about the qualification. By default, diagnostics appear only when a qualification fails. To
display diagnostics for both passing and failing qualifications, you can add a DiagnosticsOutputPlugin
instance to the test runner.
Classes
The matlab.unittest.diagnostics
namespace consists of the following
classes.
matlab.unittest.diagnostics.ConstraintDiagnostic | Diagnostic with fields common to constraints |
matlab.unittest.diagnostics.FigureDiagnostic | Diagnostic to save specified figure |
matlab.unittest.diagnostics.FrameworkDiagnostic | Diagnostic provided by testing framework |
matlab.unittest.diagnostics.LoggedDiagnosticEventData | Event data for DiagnosticLogged event listeners |
matlab.unittest.diagnostics.ScreenshotDiagnostic | Diagnostic to capture screen as image file |