Summary of classes in MATLAB Diagnostics Interface
Use diagnostics to communicate relevant information in the event of a failure. To add a diagnostic message to a test case, use the diagnostic
argument in any of the matlab.unittest.qualifications
methods. The framework also displays diagnostic messages related to the nature of the qualification failure. The matlab.unittest.diagnostics
package consists of the following classes.
matlab.unittest.diagnostics.ConstraintDiagnostic | Diagnostic with fields common to most constraints |
matlab.unittest.diagnostics.Diagnostic | Fundamental interface class for matlab.unittest diagnostics |
matlab.unittest.diagnostics.DiagnosticResult | Result of a diagnosed Diagnostic instance |
matlab.unittest.diagnostics.DisplayDiagnostic | Diagnostic using a value's displayed output |
matlab.unittest.diagnostics.FigureDiagnostic | Diagnostic to save specified figure |
matlab.unittest.diagnostics.FileArtifact | Artifact associated with a file on disk |
matlab.unittest.diagnostics.FrameworkDiagnostic | Diagnostic provided by testing framework |
matlab.unittest.diagnostics.FunctionHandleDiagnostic | Diagnostic using a function's displayed output |
matlab.unittest.diagnostics.LoggedDiagnosticEventData | Event data for DiagnosticLogged event listeners |
matlab.unittest.diagnostics.ScreenshotDiagnostic | Diagnostic to capture screen as image file |
matlab.unittest.diagnostics.StringDiagnostic | Diagnostic using string |