Functional, Baseline, Multirelease, and Parallel Tests
You can run these types of tests in Simulink® Test™:
Functional — Use functional requirements to develop test cases and test suites that analyze whether model components meet those requirements.
Baseline — Compare test results to a file of saved output values.
Multirelease — Use more than one release to run a test and check that results have not changed between releases.
Parallel — Decrease test execution run time, especially for complex Simulink models that take a long time to simulate or for tests with multiple test iterations that take a long time to run. To run tests in parallel on your local machine or cluster, you must have Parallel Computing Toolbox™ installed. To run tests on a remote cluster or in the cloud, you must have MATLAB® Parallel Server™ installed.
Topics
- Perform Functional Testing and Analyze Test Coverage
Analyze functional dependencies, test model components in isolation, create suites of test cases, test models, and code to achieve coverage.
- Compare Model Output to Baseline Data
Test simulation output against a baseline.
- Run Tests in Multiple Releases of MATLAB
Compare test results across multiple MATLAB releases.
- Run Tests Using Parallel Execution
Decrease test time using Parallel Computing Toolbox or MATLAB Parallel Server.
- Override Model Parameters in a Test Case
Compare simulation to baseline data using a parameter override and the Test Manager.
- Override the Simulation Mode During Test Execution
This example shows how to override the simulation mode when you run a test.
- Test Execution Order
Order in which models load, and test cases, iterations, and callbacks run.