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


Review Requirement Implementation Status Metrics Data

Use requirement implementation metrics to check how extensively requirements are implemented in your model.

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.