Class: matlab.unittest.TestRunner
Package: matlab.unittest
Create TestRunner
object for command window output
runner = matlab.unittest.TestRunner.withTextOutput
runner = matlab.unittest.TestRunner.withTextOutput(Name,Value)
creates a runner
= matlab.unittest.TestRunner.withTextOutputTestRunner
object that is configured for running tests from the MATLAB® Command Window and returns it in runner
. The output produced includes test progress as well as diagnostics in the event of test failures.
creates a runner
= matlab.unittest.TestRunner.withTextOutput(Name,Value
)TestRunner
with additional options specified by one or more Name,Value
pair arguments. For example, to create a TestRunner
that excludes logged diagnostics, specify matlab.unittest.TestRunner.withTextOutput('LoggingLevel',0)
.
log (Fixture)
| log (TestCase)
| matlab.unittest.Verbosity
| run (TestSuite)