Package: matlab.unittest.plugins.codecoverage
Format to create code coverage report using Cobertura XML format
reportFormat = CoberturaFormat(
constructs a filename
)CoberturaFormat
format and returns it as
reportFormat
. When used with the
CodeCoveragePlugin
, the code coverage results are saved to the file
filename
.
Typically, you construct this class implicitly by instantiating it when you create a
CodeCoveragePlugin
instance. For example, p =
CodeCoveragePlugin.forFile('ProductTest.m','Producing',CoberturaFormat('reportFile.xml'))
creates a plugin that produces a code coverage report for
ProductTest.m
in the Cobertura XML format named
reportFile.xml
.
matlab.unittest.plugins.codecoverage.CoverageReport
| matlab.unittest.plugins.CodeCoveragePlugin