matlab.unittest.plugins.diagnosticrecord.DiagnosticRecord - Diagnostic information - MATLAB (original) (raw)

Main Content

Namespace: matlab.unittest.plugins.diagnosticrecord

Description

The DiagnosticRecord class defines the diagnostic information that the DiagnosticsRecordingPlugin includes on the TestResult. The DiagnosticsRecordingPlugin creates this class, so there is no need for test authors to construct the class directly.

Properties

expand all

Stack trace to the location of the diagnostic event, returned as a structure containing the fields file, name, and line.

Data Types: struct

All diagnostic information, returned as a character vector. The report provides an overall summary of the event.

Data Types: char

Methods

Version History

Introduced in R2016a