Main Content

Create and Run MATLAB Tests

Create and run tests and test suites interactively and programmatically

MATLAB® Test™ extends the capabilities of the MATLAB unit testing framework by allowing you to:

  • Create and run tests in projects by using the MATLAB Test Manager app.

  • Programmatically create and run test suites based on file dependencies and requirement links.

For more information, see Extend MATLAB Unit Testing Framework with MATLAB Test.

Apps

MATLAB Test ManagerManage MATLAB tests and results for projects (Since R2023a)

Classes

matlabtest.selectors.DependsOnSelect TestSuite array elements by source code dependency (Since R2023a)

Functions

matlab.unittest.TestSuite.fromRequirementsCreate test suite from requirements (Since R2023a)

Topics