matlab.unittest.TestRunner.withDefaultPlugins
Class: matlab.unittest.TestRunner
Namespace: matlab.unittest
Syntax
Description
runner = matlab.unittest.TestRunner.withDefaultPlugins
creates a default test runner, which is equivalent to the runner that the testing framework
configures by default when you call the runtests
function. The method returns the test runner as a matlab.unittest.TestRunner
object.
Use this method to create a test runner that provides essential test run features, such as displaying test run progress and test diagnostics. For more information on how the testing framework configures a default test runner, see Default Plugins.
runner = matlab.unittest.TestRunner.withDefaultPlugins(
specifies options using one or more name-value arguments. For example, Name=Value
)runner =
matlab.unittest.TestRunner.withDefaultPlugins(OutputDetail="Verbose")
creates a
default test runner that displays test output at the maximum verbosity level.
Name-Value Arguments
Examples
More About
Version History
Introduced in R2025a