matlab.unittest.plugins.TestRunnerPlugin - Plugin interface for extending test runner - MATLAB (original) (raw)
The TestRunnerPlugin
interface enables extension of the matlab.unittest.TestRunner class. To customize a test run, create a subclass ofTestRunnerPlugin
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.