Main Content

matlab.unittest.plugins.testreport.HTMLTestReportPlugin class

Package: 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 main HTML file, 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 main file of the report index.html.

Example: 'main.html'

Attributes:

GetAccess
public
SetAccess
immutable

Version History

Introduced in R2017b