Test Execution
You can run many types of tests for your models, such as comparing test results to a baseline; comparing results between different MATLAB® releases; or running software-in-the loop (SIL), hardware-in-the-loop (HIL), or processor-in-the-loop (PIL) generated code tests. To increase throughput for large test suites, iterations, and Simulink® models, you can use parallel execution. Collecting test coverage helps you assess the extensiveness of your tests and how completely the requirements are tested. To extend coverage, you can add test cases or generate test cases using Simulink Design Verifier™. To debug tests and identify requirements not associated with a test, you can use the Model Slicer.
Frequently Viewed Topics
Categories
- Functional, Baseline, Multirelease, and Parallel Tests
Analyze dependencies, compare output to known values and across releases, run in parallel, and use external data input
- SIL, PIL, and HIL Tests
Run equivalence (back-to-back) tests for software-in-the-loop, processor-in-the-loop, and real-time hardware-in-the-loop
- ASAM XIL Tests
Run tests on third-party ASAM® XIL compliant test benches
- Generated Code Tests
Run tests for integrated code, C code, and code from previous releases
- Interpret Test Results
View and analyze test results and test failures
- Debug Tests
Evaluate and fix test failures and unexpected results
- Check Test Coverage
Implement, evaluate, and increase test coverage