matlab.unittest.diagnostics Package
Summary of classes in MATLAB Diagnostics Interface
Description
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.
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 result using displayed output of value |
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 result using displayed output of function |
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 result using string |
Version History
Introduced in R2013a