Skipped verify statements appear in tests they are not called in ?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Pratheek
il 30 Mar 2023
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 Commenti
Vedere anche
Categorie
Scopri di più su Outputs in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!