Skip to content

matlab.unittest.reporters.TextOutputReporter

matlab · scripts/+matlab/+unittest/+reporters/TextOutputReporter.m

TextOutputReporter Print test results to the console.

This reporter is automatically added by matlab.unittest.TestRunner.withTextOutput() and prints one-line-per-test progress followed by a summary.

runner = matlab.unittest.TestRunner.withTextOutput();
results = runner.run(matlab.unittest.TestSuite.fromClass('MyTest'));