append
Class: matlab.unittest.plugins.plugindata.ResultDetails
Namespace: matlab.unittest.plugins.plugindata
Add data to test result details
Description
append(
appends resultDetails,field,data)data to a field of the
Details property of a TestResult array. If
field does not exist, the method adds it to the
Details structure and stores data in the added
field.
When you invoke append within the scope of a plugin class method, the
append operation applies to all of the TestResult objects affected by the
plugin method. For example, if you invoke append within the scope of the
runSession method of TestRunnerPlugin, then the same data
is added to all TestResult objects belonging to the test session.
Input Arguments
Examples
Extended Capabilities
Version History
Introduced in R2020a