matlab.unittest.plugins.TestReportPlugin.producingHTML
Class: matlab.unittest.plugins.TestReportPlugin
Package: matlab.unittest.plugins
Create plugin that generates HTML test report
Syntax
Description
plugin = matlab.unittest.plugins.TestReportPlugin.producingHTML
creates a plugin that generates an HTML report of test results in a temporary
folder. Within that folder, the main file of the report is
index.html
. If you rerun the test suite with this plugin,
then MATLAB® overwrites the contents in the folder.
This syntax is equivalent to plugin =
matlab.unittest.plugins.TestReportPlugin.producingHTML(tempname)
.
plugin = matlab.unittest.plugins.TestReportPlugin.producingHTML(
saves the report to the specified folder.folderName
)
plugin = matlab.unittest.plugins.TestReportPlugin.producingHTML(___,
specifies options using one or more name-value arguments in addition to any of the
input argument combinations in previous syntaxes. For example, Name,Value
)plugin =
matlab.unittest.plugins.TestReportPlugin.producingHTML("MainFile","main.html")
creates a plugin that generates a test report with its main file named
main.html
instead of index.html
.