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 similar 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
run
is 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