createSharedTestFixture
Class: matlab.unittest.plugins.TestRunnerPlugin
Package: matlab.unittest.plugins
Extend creation of shared test fixture instances
Description
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
framework evaluates this method within the scope of the
runTestSuite
method of 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.
Input Arguments
|
Plugin object, specified as an instance of the
|
|
Shared test fixture creation information, specified as an instance of the
|
Examples
Version History
Introduced in R2014a