Package: matlab.unittest.diagnostics
Fundamental interface class for matlab.unittest
diagnostics
The Diagnostic
interface class is the means
by which the matlab.unittest
framework and its
clients package diagnostic information. All diagnostics are derived
from Diagnostic
, whether they are user-supplied
test diagnostics for an individual comparison or diagnostics associated
with the Constraint
used in the comparison.
Classes which derive from Diagnostic
encode
the diagnostic actions to be performed. They produce a diagnostic
result that is displayed appropriately by the test running framework.
In exchange for meeting this requirement, any Diagnostic
implementation
can be used directly with matlab.unittest
qualifications.
These qualifications execute the diagnostic action and store the result
for the test running framework to use.
As a convenience, the framework creates appropriate diagnostic
instances for arrays of character vectors, strings, and function handles
when they are user supplied test diagnostics. To retain good performance,
these values are only converted into Diagnostic
instances
when a qualification failure occurs or when the test running framework
is explicitly observing passing qualifications. The default test runner
does not explicitly observe passing qualifications.
|
The artifacts produced during the last diagnostic evaluation, returned as an array of artifacts. |
|
The |
Handle. To learn how handle classes affect copy operations, see Copying Objects.