matlab.unittest.plugins.TestRunnerPlugin Class
Namespace: matlab.unittest.plugins
Plugin interface for extending test runner
Description
The TestRunnerPlugin interface enables extension of the matlab.unittest.TestRunner class. To customize a test run, create a subclass of
TestRunnerPlugin and override select methods. TestRunnerPlugin
provides you with a default implementation. Override only the methods that are required to
achieve your customization. Every method you implement must invoke its corresponding
superclass method, passing along the same instance of the PluginData class that it receives.
To run tests with this extension, add the custom TestRunnerPlugin instance
to the test runner by using the addPlugin method.
The matlab.unittest.plugins.TestRunnerPlugin class is a handle class.
Methods
Tips
To run tests in parallel with a
TestRunnerPlugininstance, your plugin should subclass thematlab.unittest.plugins.Parallelizableinterface. Running tests in parallel requires Parallel Computing Toolbox™.