matlab.unittest.fixtures.ProjectFixture Class
Namespace: matlab.unittest.fixtures
Superclasses: matlab.unittest.fixtures.Fixture
Fixture for loading project
Description
ProjectFixture
is a fixture for loading a project during execution of a test suite.
The test framework constructs this class. When the test framework sets up the fixture, it loads the project if not already loaded. When the test framework tears down the fixture, the project is closed if the fixture loaded it, otherwise the project remains loaded.
The matlab.unittest.fixtures.ProjectFixture
class is a handle
class.
Creation
Instances of this class are created only by the testing framework.
Properties
Limitations
You cannot use the
fromProject
method in compiled applications created with the MATLAB® Compiler™. For more information, see Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK (MATLAB Compiler).
Version History
Introduced in R2019a