Main Content

Requirements-Based Testing

Requirements-based model verification, interpreting and reporting test results

Set verification link types between requirements and test artifacts such as:

  • Test files, test suites, and test cases in Simulink® Test™

  • Simulink Design Verifier™ Verification blocks

  • Simulink Model Verification Library blocks

Use the Implementation status metrics to check if your requirements are implemented and address gaps in consistency. Use the Verification status metrics to check if your requirements are verified by running the tests associated with them. Review Implementation and Verification status for the requirement set in the Requirements Editor. After running tests, view a results summary and address test failures. Create justifications to exclude requirements from the Implementation and Verification status metric computation.


slreq.JustificationWork with slreq.Justification objects Work with external results sources Work with external results sources


Summarize Requirements Verification Status

Check test and analysis results linked to your requirements.

Link to Test Cases from Requirements

Associate test cases with requirements.

Justify Requirements

Provide justifications for your requirements.

Include Results from External Sources in Verification Status

Link and reflect the results from external sources in Requirements verification status.

Featured Examples