matlab.unittest.plugins.QualifyingPlugin Class
Namespace: matlab.unittest.plugins
Superclasses: matlab.unittest.plugins.TestRunnerPlugin
Plugin interface for performing system-wide qualifications
Description
The matlab.unittest.plugins.QualifyingPlugin
class enables you to implement plugins that perform
system-wide qualifications on a test suite. A qualifying plugin produces test failures apart
from your test content and lets you avoid repeating the same qualification in every test. You
can decide to apply system-wide qualifications to the test suite by adding the plugin to the
test runner for a particular test session.
To create a plugin class that supports system-wide qualifications, derive your class from
matlab.unittest.plugins.QualifyingPlugin
and override inherited methods using the qualification methods of
the QualifyingPlugin
class. You can perform system-wide verifications,
assumptions, assertions, and fatal assertions in these inherited methods:
Additionally, you can perform system-wide assumptions, assertions, and fatal assertions in these inherited methods:
The matlab.unittest.plugins.QualifyingPlugin
class is a handle
class.
Methods
Examples
Version History
Introduced in R2015b