matlabtest.coder.plugins.GeneratedCodeCoveragePlugin class
Package: matlabtest.coder.plugins
Superclasses: matlab.unittest.plugins.TestRunnerPlugin
, matlab.unittest.plugins.Parallelizable
Plugin for code coverage information for generated C/C++ code equivalence tests
Since R2023a
Description
Add an instance of the matlabtest.coder.plugins.GeneratedCodeCoveragePlugin
class to the test runner to collect and
access code coverage information for generated C/C++ code in an equivalence test. When the
test suite runs, the plugin collects information that shows the parts of the generated C/C++
code that were executed. You can access this information programmatically or in the code
coverage report.
The matlabtest.coder.plugins.GeneratedCodeCoveragePlugin
class is a handle
class.
Creation
Description
creates a plugin that provides access to code coverage information when you run a
generated C/C++ code equivalence test.p
= matlabtest.coder.plugins.GeneratedCodeCoveragePlugin
specifies options using one or more name-value arguments in addition to the input
arguments in previous syntaxes.p
= matlabtest.coder.plugins.GeneratedCodeCoveragePlugin(___,Name=Value
)
Input Arguments
Properties
Examples
Version History
Introduced in R2023a