필터 지우기
필터 지우기

How can I measure Equivalence Class Coverage for a Simulink model?

조회 수: 8 (최근 30일)
Some signals in my model are partitioned into different equivalence classes. When testing the model, each of my test cases targets a particular equivalence class. Measuring Equivalence Class Coverage would allow me to make sure that I am testing all the relevant partitions. Can I do this with Simulink Coverage?

채택된 답변

Guilherme Costa Nascimento
Guilherme Costa Nascimento 2023년 6월 28일
Measuring Equivalence Class Coverage is not natively supported in Simulink Coverage, but we have developed an intial solution for R2023a, available here: https://www.mathworks.com/matlabcentral/fileexchange/131424-measuring-equivalence-class-coverage-of-simulink-models
This solution includes an app that allows you to specify equivalence classes for each signal in the model you want to test. After running your tests, the Equivalence Class Coverage results will be automatically added to the coverage report.
Please try this new solution and comment below with any questions, suggestions, and feedback.
We look forward to hearing back from you!
  댓글 수: 2
Steffen Kümmerle
Steffen Kümmerle 2023년 7월 10일
Can we expect something like this in a future official release? more stable and well integrated into the Matlab environment?
If yes, for which release this feature is planned?
Pat Canny
Pat Canny 2023년 7월 12일
Hi @Steffen Kümmerle - thanks for your questions.
We are (very) actively investigating this to put this into the product, and are trying this new "File Exchange first" approach to explore the workflow because there are a few unknowns we want to learn first (specifically: how would most users want to define and manage the equivalence classes for a given signal?). I can't comment on specific release plans, but would you be interested in a discussion with us?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by