createSharedTestFixture
Class: matlab.unittest.plugins.TestRunnerPlugin
Namespace: matlab.unittest.plugins
Extend creation of shared test fixtures
Description
f = createSharedTestFixture(
extends the creation of shared test fixtures and returns the modified plugin
,pluginData
)Fixture
instance. The testing framework uses the fixture to customize running tests that use shared
fixtures. The framework evaluates this method within the scope of the runTestSuite
method 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. Because the Fixture
class inherits from the handle
class, add listeners by
calling the addlistener
method from within the
createSharedTestFixture
method.
Input Arguments
Examples
Version History
Introduced in R2014a