Coverage test does not cover all my switch case block
3 次查看(过去 30 天)
显示 更早的评论
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 ?
回答(0 个)
另请参阅
类别
在 Help Center 和 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!
