Main Content
supportsParallel
Class: matlab.unittest.plugins.Parallelizable
Namespace: matlab.unittest.plugins
Determine if plugin supports running tests in parallel
Description
tf = supportsParallel(
returns logical
plugin
)1
(true
) if plugin
supports
running tests in parallel and returns logical 0
(false
) if plugin
supports running tests only in
serial mode.
In certain cases, the test runner cannot run tests in parallel when it is extended by a
plugin. Override supportsParallel
to specify the circumstances in which the
plugin cannot be used to run tests in parallel.
Running tests in parallel requires Parallel Computing Toolbox™.
Input Arguments
Examples
Version History
Introduced in R2019b