Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Szilard Hegyi
Szilard Hegyi le 14 Fév 2023
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

Réponses (1)

Pratheek
Pratheek le 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.

Catégories

En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by