Class: matlab.unittest.plugins.TestRunnerPlugin
Package: matlab.unittest.plugins
Extend creation of shared test fixture instances
f = createSharedTestFixture(plugin,pluginData)
f = createSharedTestFixture(
extends
the creation of shared test fixtures and returns the modified plugin
,pluginData
)Fixture
instance, f
.
The testing framework uses the fixture instance to customize running
tests that use shared fixtures. The testing framework evaluates this
method within the scope of the runTestSuite
method
of the TestRunnerPlugin
for each shared test fixture
it needs to set up. A typical implementation of this method is to
add listeners to various events originating from the shared test fixture
instance. Since the Fixture
inherits from the handle
class,
add listeners by calling the addlistener
method
from within the createSharedTestFixture
method.
|
Instance of |
|
Shared test fixture creation information, specified as an instance
of |
matlab.unittest.TestRunner
| matlab.unittest.fixtures.Fixture
| matlab.unittest.plugins.plugindata.TestContentCreationPluginData
| matlab.unittest.qualifications.ExceptionEventData
| matlab.unittest.qualifications.QualificationEventData