Coverage test does not cover all my switch case block
이전 댓글 표시
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
stozaki
2022년 5월 30일
Did you accumulate coverage results for multiple test cases when performing coverage measurements?
When defining multiple test cases using signal builder etc. and measuring coverage, it is necessary to accumulate coverage results.
Ayoub azd
2022년 5월 30일
Pat Canny
2022년 5월 31일
Are the missing coverage objectives "dead"?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Collect Coverage for Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
