필터 지우기
필터 지우기

Skipped verify statements appear in tests they are not called in ?

조회 수: 4 (최근 30일)
Szilard Hegyi
Szilard Hegyi 2023년 2월 14일
답변: Pratheek 2023년 3월 30일
Quick question. Is there a reason why unused verified statements appear in the results section in test cases they are not called in ?
They are skipped of course, but for example if someone has many verify statements in one if the scenarios used in the harness and in the other one just 1 or 2 , then all of the statements will be listed in both test case results in the Simulink Test Manager :
Is there any setting that would make only the related verifications to that test case appear ?
Thanks in advance

답변 (1개)

Pratheek
Pratheek 2023년 3월 30일
When running test cases in Simulink Test Manager, all of the verify statements present in the model will be listed in the results section of each test case, regardless of whether they were called or skipped. This is because Simulink Test Manager generates the test results based on the entire test script or model, providing you with a comprehensive summary of all the verify statements present, however, if you only want to see the verification statements that are relevant to a particular test case, you can use the filtering functionality available in the Simulink Test Manager.
To do this, you can select the test case in question, and then use the "Filter Results" option in the toolbar. From there, you can specify the criteria for filtering, such as only showing results for specific verification statements or test steps. This should allow you to focus on the results that are most relevant to the particular test case you are interested in.

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by