Main Content

matlab.unittest.plugins.testreport.PDFTestReportPlugin Class

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

Plugin that generates a PDF test report

Description

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

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

Creation

To create a PDFTestReportPlugin instance, use the producingPDF static method.

Properties

expand all

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

Report orientation, returned as 'portrait' or 'landscape'. You can specify the value of this property during creation of the plugin. By default, the plugin generates a report in portrait orientation.

Attributes:

GetAccess
public
SetAccess
immutable

Tips

  • PDF test reports are generated based on your system locale and the font families installed on your machine. When generating a report with a non-English locale, unless your machine has the Noto Sans CJK font families installed, the report might have pound sign characters (#) in place of Chinese, Japanese, and Korean characters.

Version History

Introduced in R2016b