matlab.unittest.plugins.testreport.PDFTestReportPlugin class

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

TestReportPlugin that creates a test report in .pdf format

Description

A PDFTestReportPlugin is an instance of the TestReportPlugin class that creates a test result report in PDF format. To create a PDFTestReportPlugin instance, use the matlab.unittest.plugins.TestReportPlugin.producingPDF static method.

Properties

expand all

Report orientation, specified as 'portrait' or 'landscape'. This property is read only. You can specify it during plugin construction.

These properties are inherited from matlab.unittest.plugins.TestReportPlugin:

This property is read-only.

Logged diagnostics option, specified as false or true (logical 0 or 1). By default, ExcludeLoggedDiagnostics is false and logged diagnostics are included in the report. To exclude logged diagnostics, specify ExcludeLoggedDiagnostics as true during plugin construction.

This property is read-only.

Command Window text option, specified as false or true (logical 0 or 1). By default, IncludeCommandWindowText is false and the text output from the Command Window is excluded from the report. To include Command Window text in the report, specify IncludeCommandWindowText as true during plugin construction.

This property is read-only.

Passing events option, specified as false or true (logical 0 or 1). By default, IncludePassingDiagnostics is false and the diagnostics from passing events are excluded from the report. To include diagnostics from passing events in the report, specify IncludePassingDiagnostics as true during plugin construction.

This property is read-only.

Verbosity levels used by the plugin, specified as an array of matlab.unittest.Verbosity enumeration instances. The plugin records diagnostics that are logged at this level and below. Specify Verbosity during plugin construction.

Example: [Terse Concise Detailed]

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

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 may have pound sign characters (#) in place of Chinese, Japanese, and Korean characters.

Introduced in R2016b

Was this topic helpful?