Main Content

matlab.unittest.plugins.testreport.HTMLTestReportPlugin Class

Namespace: matlab.unittest.plugins.testreport
Superclasses: matlab.unittest.plugins.TestReportPlugin

Plugin that generates an HTML test report

Description

The matlab.unittest.plugins.testreport.HTMLTestReportPlugin class provides a plugin that generates a test report in HTML format.

The matlab.unittest.plugins.testreport.HTMLTestReportPlugin class is a handle class.

Creation

To create an HTMLTestReportPlugin instance, use the producingHTML static method.

Properties

expand all

In addition to the following property, the HTMLTestReportPlugin class inherits properties from the TestReportPlugin class.

Name of the HTML file for the single-file or multifile HTML test report, returned as a character vector ending in .html or .htm. You can specify the value of this property during creation of the plugin. By default, the plugin names the HTML file index.html.

Example: 'main.html'

Attributes:

GetAccess
public
SetAccess
immutable

Version History

Introduced in R2017b