Main Content
getSharedTestFixtures
Class: matlab.unittest.TestCase
Namespace: matlab.unittest
Provide access to shared test fixtures
Syntax
Description
fixtures = getSharedTestFixtures(
provides access to the shared test fixtures for the test case and returns them as an array
of testCase
)matlab.unittest.fixtures.Fixture
objects. Shared test fixtures are specified
using the SharedTestFixtures
attribute of TestCase
subclasses.
fixtures = getSharedTestFixtures(
returns only the shared test fixtures whose class is named
testCase
,fixtureClassName
)fixtureClassName
.
Input Arguments
Examples
Version History
Introduced in R2013b