Skipped verify statements appear in tests they are not called in ?
6 次查看(过去 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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!