フィルターのクリア

How to generate traceability report between requirement and simulink test?

21 ビュー (過去 30 日間)
digvijaysingh
digvijaysingh 2024 年 7 月 8 日 5:45
コメント済み: digvijaysingh 2024 年 7 月 11 日 9:05
I need to generate the traceability between requirement and simulink test.
In the simulink test, we are mentioning the requirements in requirement tab or section. So i want to generate a traceability report which will list test case to requirement and vice versa.
I need traceability report to be generated which will list test reference and the corresponding requirement covered in that test.

採用された回答

Pratyush
Pratyush 2024 年 7 月 11 日 8:51
Hi digvijay,
To generate a traceability report between requirements and Simulink test cases, you can follow these steps:
  1. Extract Requirements and Test References: Ensure that each test case in Simulink has a reference to the corresponding requirement in the requirements tab or section.
  2. Create a Traceability Matrix: Use a tool or script to extract and compile this information into a traceability matrix. This can be done manually or via automated scripts using MATLAB.
  3. Generate the Report: Format the extracted data into a readable report, listing each test case and the corresponding requirements it covers.
Here's the script summary:
  • Open Simulink Test Manager.
  • Load the Simulink test file.
  • Retrieve all test cases from the loaded test file.
  • Create an empty list or table to store the traceability information.
  • For each test case:
  • Retrieve the requirement links associated with the test case.
  • For each requirement link.
  • Extract the requirement ID.
  • Add an entry to the traceability report with the test case name and the requirement ID.
  • Convert the traceability report list/table to a structured format (e.g., table).
  1 件のコメント
digvijaysingh
digvijaysingh 2024 年 7 月 11 日 9:05
Thank you Pratyush, i will check your resolution.
I expected there would an option to generate directly the traceability report from some MATLAB tool or report generator.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Report Generator についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by