Class: matlab.unittest.TestRunner
Package: matlab.unittest
Run all tests in TestSuite
array in
parallel
result = runInParallel(runner,suite)
result = runInParallel(
runs
all tests in the runner
,suite
)TestSuite
array in parallel and returns
the results in a TestResult
object. The runInParallel
method
divides suite
into separate groups and uses runner
to
run each group on the current parallel pool.
The runInParallel
method requires the Parallel
Computing Toolbox™.
The testing framework might vary the order and number of groups or
which tests it includes in each group.
When you select a test suite to run in parallel, consider possible resource contention. For example, if your test fixtures access global resources, such as a shared file on the same network, the parallel sessions could conflict with each other. In such cases, consider using a prebuilt shared test fixture.
matlab.unittest.TestResult
| matlab.unittest.TestRunner
| matlab.unittest.TestRunner.run
| matlab.unittest.TestSuite
| matlab.unittest.plugins.TestRunnerPlugin