address missing coverage -凯发k8网页登录
filter coverage results and address gaps
to focus your coverage results on the aspects of your design that you want to test, you use filters to exclude elements or justify unsatisfied outcomes that you do not intend to exercise. the remaining coverage gaps might indicate insufficient testing, missing requirements, or incorrect implementation. to address these coverage gaps, you can then create additional tests, extend existing tests, refine requirements, or edit your model.
classes
select blocks for coverage filter | |
select custom c or c code for coverage filter | |
coverage filter set | |
create coverage filter rule | |
select metric criterion for coverage filter | |
get selectors of all types | |
select s-function criterion for filtering rule |
topics
exclude or justify coverage results
use coverage filtering to narrow the scope of your model coverage.
manage coverage filter rules attached to your model.
workflow to filter model objects from the coverage recording.
use the applied filters section of the coverage results explorer to manage filter rules for your simulink® model.
types of model objects you can filter from coverage recording.
address testing and requirements gaps
determine which actions to take to address coverage testing gaps.- perform functional testing and analyze test coverage
analyze functional dependencies, test model components in isolation, create suites of test cases, test models, and code to achieve coverage.
assess extent to which requirements-based tests exercise the corresponding design.