matlab.unittest.plugins.CodeCoveragePlugin.forFolder
Class: matlab.unittest.plugins.CodeCoveragePlugin
Namespace: matlab.unittest.plugins
Create plugin that collects code coverage information for folders
Syntax
Description
plugin = matlab.unittest.plugins.CodeCoveragePlugin.forFolder(
creates a plugin that collects code coverage information for source code in the
specified folder and generates an HTML code coverage report from the information.
You can specify one or more folders when calling the method. folder
)
plugin = matlab.unittest.plugins.CodeCoveragePlugin.forFolder(
specifies options using one or more name-value arguments. For example,
folder
,Name,Value
)plugin =
matlab.unittest.plugins.CodeCoveragePlugin.forFolder(pwd,"IncludingSubfolders",true)
creates a plugin that generates an HTML code coverage report for source code in the
current folder and any of its subfolders.
Input Arguments
Name-Value Arguments
Examples
Version History
Introduced in R2014bSee Also
Functions
matlab.unittest.plugins.CodeCoveragePlugin.forFile
|matlab.unittest.plugins.CodeCoveragePlugin.forNamespace