Hauptinhalt

Run MATLAB Tests

Find and run tests interactively and programmatically
Since R2023a

Reduce overall testing time by finding and running only the tests impacted by changes to your source code. Use the MATLAB Test Manager app to run tests in your MATLAB® project and view test results. Create and filter test suites by including tests that meet specific criteria, such as tests that depend on particular source files or those that use baseline data.

MATLAB Test™ extends the test execution capabilities of the MATLAB unit testing framework. For more information on how MATLAB Test enhances the functionality provided by MATLAB apps, classes, and functions, see Extend MATLAB Unit Testing Framework with MATLAB Test.

Apps

MATLAB Test ManagerManage MATLAB tests and results for projects

Classes

matlabtest.selectors.HasBaselineSelect TestSuite array elements by baseline-specific parameterization (Since R2024b)
matlabtest.selectors.DependsOnSelect TestSuite array elements by source code dependency

Functions

matlab.unittest.TestSuite.fromRequirementsCreate test suite from requirements

Topics