run
Class: matlab.unittest.TestSuite
Namespace: matlab.unittest
Run test suite using default test runner
Syntax
Description
results = run( runs the
test suite using a default test runner, which is equivalent to the runner that the testing
framework configures by default when you call the suite)runtests function. The method returns the results of the test run as a matlab.unittest.TestResult array, where each TestResult object
corresponds to an element of suite.
Input Arguments
Examples
Tips
runis a convenience method. For example,results = run(suite)is functionally equivalent to the following code.runner = testrunner; results = run(runner,suite)
Version History
Introduced in R2013a