Cumulative coverage for different test cases
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ajay krishna Vasanthakumar
el 19 de Jun. de 2020
Respondida: Pat Canny
el 26 de Jun. de 2020
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 comentarios
Pat Canny
el 26 de Jun. de 2020
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
Respuesta aceptada
Pat Canny
el 26 de Jun. de 2020
(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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Results, Reporting, and Test File Management en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!