Cumulative coverage for different test cases

조회 수: 2 (최근 30일)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 6월 19일
답변: Pat Canny 2020년 6월 26일
Hello Community,
is it possible to get the cumulative coverage in simulink if i change the test case which contains different source blocks ?
The test case is configurable subsystem(linked to library model)
Consider the below senario
example:
test case 1: step block
test case 2: ramp block
Thanks,
V.Ajay Krishna
  댓글 수: 2
Pat Canny
Pat Canny 2020년 6월 26일
Hi Ajay,
Thanks for your question.
Are you using test harnesses? You can create one for the system under test using slvnvmakeharness, which would allow you to change the test source while preserving the coverage collected on the system under test for cumulative coverage.
Thanks.
- Pat
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 6월 26일
Thanks alot pat :)

댓글을 달려면 로그인하십시오.

채택된 답변

Pat Canny
Pat Canny 2020년 6월 26일
(To officially answer this)
For cumulative coverage workflows, you can create a test harness for the system under test using slvnvmakeharness, which would allow you to change the test source while preserving the coverage collected on the system under test for cumulative coverage. Simulink Coverage will instrument and measure coverage on the system under test, which is effectively a model reference within the test harness.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by