Main Content

matlab.unittest.plugins.plugindata.SharedTestFixturePluginData class

Package: matlab.unittest.plugins.plugindata

Plugin data containing shared test fixture information

Description

The SharedTestFixturePluginData defines the data passed by the TestRunner to plugin methods related to shared test fixtures. The TestRunner instantiates this class, so you are not required to create an object of the class directly.

Properties

Name

Label of shared test fixture, specified as a character vector. The Name property is for informational, labeling, and display purposes. You cannot use this property to inspect the test content.

Description

Description of action performed during setup and teardown of a shared test fixture, specified as a character vector.

QualificationContext

Context for plugins to perform qualifications on fixtures, 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.

ResultDetails

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.

Introduced in R2014a