このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
テスト ケースと反復
モデルに含まれるアーキテクチャ、テスト ハーネス、テスト入力を反映したテスト ファイルを自動的に作成できます。テスト ファイルを用意したら、テスト マネージャーを使用してモデルに対する変更と同期します。テストをプロジェクトにパッケージ化して、テストを共有し、関連ファイルを管理します。
ツール
| Simulink テスト マネージャー | さまざまな実行環境でのモデルとコードのテスト、テスト スイートの管理、結果の解析とレポート |
トピック
- Generate Tests and Test Harnesses for a Model or Components
Overview of how to create tests and test harnesses for model, components, or subsystems using workflow wizard.
- 一連のテスト ケースの自動作成
モデルに含まれるテスト ハーネスと Signal Editor ブロックに対応する一連のテスト ケースを作成する。
- 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.
- テスト マネージャーでのテスト プロパティの指定
テスト ケース、テスト スイート、およびテスト ファイルのプロパティを設定する。
- Synchronize Tests
Update test cases in a test file to reflect changes in the system under test.
- Test Iterations
Test combinations of parameter sets, external inputs, configuration sets, Signal Editor scenarios, Test Sequence scenarios, or baselines.
- テスト ケースのモデル パラメーターのオーバーライド
パラメーターのオーバーライドとテスト マネージャーを使用してシミュレーションをベースライン データと比較する。
- Override the Simulation Mode During Test Execution
This example shows how to override the simulation mode when you run a test. You can run a test in a simulation mode without modifying the simulation mode specified in the test case or the model settings.
- 要件へのリンク
要件とテスト ケース、入力、期待される出力、評価の間のトレーサビリティを確立する。
- Write and Run Tests that Inject Faults by Using the Simulink Test Manager
Run tests that inject faults by creating fault sets. (R2024a 以降)
- 要件に対するモデルのテストと結果のレポート
詳細な要件にモデルを関連付け、トレーサビリティを示し、要件に対してテストを行います。
- MATLAB ベースの Simulink テストを使用したモデルのテスト
テスト マネージャーで使用できるテスト ファイルを MATLAB で作成する。
- Create and Run a RoadRunner Test Case
Run a test case for a RoadRunner scenario.

