Main Content

matlab.unittest.plugins.plugindata.ImplicitFixturePluginData class

Package: matlab.unittest.plugins.plugindata

Plugin data containing test setup and teardown information

Description

The ImplicitFixturePluginData class defines the data passed by the TestRunner to plugin methods related to setting up and tearing down tests. The TestRunner instantiates this class, so you are not required to create an object of the class directly.

Properties

expand all

Label of test content TestRunner sets up or tears down, specified as a character vector. Use the Name property for informational, labeling, and display purposes. You cannot use this property to inspect the test content.

Context for plugins to perform qualifications on the test content, specified as an instance of the matlab.unittest.plugins.plugindata.QualificationContext class. For your plugin to use qualifications, it must be a subclass of matlab.unittest.plugins.QualifyingPlugin and provide this context in the call to one of its qualifications methods.

Modifier of the test result details, specified as an instance of the matlab.unittest.plugins.plugindata.ResultDetails class. Use ResultDetails when you need to modify the Details property of TestResult objects.

Version History

Introduced in R2015a

expand all