matlab.unittest.TestRunner.withTextOutput
Class: matlab.unittest.TestRunner
Namespace: matlab.unittest
Create test runner configured for text output
Syntax
runner = matlab.unittest.TestRunner.withTextOutput
runner = matlab.unittest.TestRunner.withTextOutput(Name=Value)
Description
runner = matlab.unittest.TestRunner.withTextOutput
creates a
TestRunner
object that is configured for running tests from the MATLAB® Command Window. The output produced includes test progress as well as
diagnostics in the event of test failures.
runner = matlab.unittest.TestRunner.withTextOutput(
specifies options using one or more name-value arguments. For example, Name=Value
)runner =
matlab.unittest.TestRunner.withTextOutput(LoggingLevel="None")
creates a test
runner that excludes logged diagnostics.
Name-Value Arguments
Examples
Version History
Introduced in R2013a