Main Content

Test Cases and Iterations

Test architecture for large models, synchronizing test files and models, requirements linking, sharing, file management

You can automatically create a test file that mirrors the architecture, test harnesses, and test inputs contained in your model. Once you have a test file, you can synchronize it with changes to your model by using the Test Manager. Share tests and manage related files by packaging tests into a project.

Tools

Test ManagerModel and code testing in different execution environments, manage test suites, and analyze and report results

Topics

Test Iterations

Use iterations to test combinations of parameter sets, external inputs, configuration sets, Signal Builder groups, or baselines.

Test Models Using MATLAB-Based Simulink Tests

Write test files in MATLAB that can be used in the Test Manager.

Automatically Create a Set of Test Cases

Create a set of test cases that correspond to test harnesses and Signal Editor blocks contained in a model.

Synchronize Tests

Update test cases in a test file to reflect changes in the system under test.

Generate Tests and Test Harness for a Component or Model

Overview of how to create tests and a test harness for a single model component or subsystem using workflow wizard.

Link to Requirements

Establish traceability between requirements and test cases, inputs, expected outputs, and assessments.

Test Model Against Requirements and Report Results

Associate your model with detailed requirements, demonstrate traceability, test against requirements.

Import Test Cases for Equivalence Testing

Use back-to-back test cases exported from the Embedded Coder® SIL/PIL Manager app to the Test Manager.