Package: sltest.plugins.coverage
Specify model coverage report details for tests run with MATLAB Unit Test
creates mcr
= sltest.plugins.coverage.ModelCoverageReport(path
)mcr
, a ModelCoverageReport
that specifies
the report folder path
. Use a ModelCoverageReport
to
specify report properties when you run Simulink®
Test™ test files run with the MATLAB® Unit Test framework.
Specify report properties before you run the test:
Create a ModelCoverageReport
.
Create a ModelCoveragePlugin
, and specify the ModelCoverageReport
by using the Producing
property.
Add the ModelCoveragePlugin
to the TestRunner
.
Run the test.
creates mcr
= sltest.plugins.coverage.ModelCoverageReport(path
)mcr
, a ModelCoverageReport
that specifies the
report folder path
.
You can also import the class, then use the name:
import sltest.plugins.coverage.ModelCoverageReport
mcr = ModelCoverageReport(path)