Coverage test does not cover all my switch case block

6 Ansichten (letzte 30 Tage)
Ayoub azd
Ayoub azd am 29 Mai 2022
Kommentiert: Pat Canny am 31 Mai 2022
i am working on a simulink model and trying to cover it using test cases, these test cases are imported to signal builder as a csv extension. once loaded i check my values in comparaison to the csv file and start my coverage. Once done i check my model again and when i find the missing cases i add them, but it doesn though the given values are true and sometimes, it ends up lowering my MCDC.
i don't know if there is a rule when writing test cases that i should respect ?
  3 Kommentare
Ayoub azd
Ayoub azd am 30 Mai 2022
yes i did accumulate coverage tests, after i run the coverage for the first time i added the missing test to the old test cases (around 70) but it doesn't change anything.
i m giving to my signal builder block inputs of the system and predicted outputs too that i compare with the real output, does it have any role in the coverage if the predicted outputs are false?
the picture below shows the structure of my excel
Pat Canny
Pat Canny am 31 Mai 2022
Are the missing coverage objectives "dead"?
If you have a Simulink Design Verifier license, you can check your model for dead logic.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Collect Coverage for Models finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by