このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
テスト ケースと反復
モデルに含まれるアーキテクチャ、テスト ハーネス、テスト入力を反映したテスト ファイルを自動的に作成できます。テスト ファイルを用意したら、テスト マネージャーを使用してモデルに対する変更と同期します。テストをプロジェクトにパッケージ化して、テストを共有し、関連ファイルを管理します。
ツール
テスト マネージャー | さまざまな実行環境でのモデルとコードのテスト、テスト スイートの管理、結果の解析とレポート |
トピック
- 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.
- Specify Test Properties in the Test Manager
Set test case, test suite, and test file properties.
- Synchronize Tests
Update test cases in a test file to reflect changes in the system under test.
- テスト反復
パラメーター セット、外部入力、コンフィギュレーション セット、信号エディター シナリオ、テスト シーケンス シナリオ、またはベースラインの組み合わせをテストする。
- Override Model Parameters in a Test Case
Compare simulation to baseline data using a parameter override and the Test Manager.
- 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.
- Link to Requirements
Establish traceability between requirements and test cases, inputs, expected outputs, and assessments.
- 要件に対するモデルのテストと結果のレポート
詳細な要件にモデルを関連付け、トレーサビリティを示し、要件に対してテストを行います。
- Test Models Using MATLAB-Based Simulink Tests
Write test files in MATLAB that can be used in the Test Manager.
- Create and Run a RoadRunner Test Case
Run a test case for a RoadRunner scenario.