Basics of Test Generation
Simulink® Design Verifier™ is a powerful tool that enables you to enhance the reliability and robustness of the Simulink models through automated test generation. The Generate Tests feature facilitates the creation of comprehensive test cases that aim to uncover design errors, validate model behavior, and ensure coverage of all functional requirements. By leveraging formal methods, Simulink Design Verifier systematically explores the model's state space to identify critical test scenarios, thus reducing manual testing efforts and accelerating the verification process. You can follow the fundamental steps described, to effectively generate and utilize test cases, ensuring your model meets its specified design criteria and operates as intended.
Blocks
Functions
Topics
- Workflow for Test Generation
Brief overview of test case generation with Simulink Design Verifier.
- Check Model Compatibility for Analysis
Check whether your model is compatible with Simulink Design Verifier.
- Test Generation Examples
A set of concept examples that illustrates test generation capabilities.
- Creating and Executing Test Cases
This example shows how to use Simulink® Design Verifier™ functions to log input signals, create a harness model, generate test cases for missing coverage, merge harness models, and execute test cases.
- Test Objective Block
This example shows the use of two custom Test Objective blocks.
- Test Condition Block
This example shows how to constrain input values.