Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Input generation for Coverage testing
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I have a Stateflow state machine that I want to do coverage testing on. It seems to me like the built in Simulink coverage tester shows the coverage that the model went through for 1 simulation. I would like to test the model to make sure that I go through all possible scenarios. To do this, I would have to create inputs to the Stateflow diagram so that it covers the whole code. Is there an automated way to create these inputs to the Stateflow chart so I don't have to do this part manually?
Thanks, Horace
댓글 수: 0
답변 (1개)
Sebastian Castro
2015년 4월 29일
If you have Simulink Design Verifier, you can use this to generate test cases for full coverage.
Here's a quick video: http://www.mathworks.com/videos/extend-existing-test-cases-to-achieve-full-model-coverage-86484.html
- Sebastian
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!