In addition to running tests, you can customize the test run using the test options under
the Run Tests icon. MATLAB uses test options whether you run all the tests in a file or
just the test at your cursor location.
Test Option Description
Clear Command Window Clears the Command Window before
running tests.
Strict Applies strict checks while running tests.
For example, the framework generates a
qualification failure if a test issues a
warning.
Tests that run with this option selected
have the 'Strict' option of runtests set
to true.
Parallel Runs tests in parallel. This option is only
available if the Parallel Computing Toolbox
is installed.
Tests that run with this option selected
have the 'UseParallel' option of
runtests set to true.
Output Detail Controls the amount of detail displayed for
a test run.
For example, tests that run with Output
Detail specified as 0: None have the
'OutputDetail' option of runtests set
to 0.
Logging Level Displays diagnostics logged by the
TestCase.log method at the specified
verbosity level or lower.
For example, tests that run with Logging
Level specified as 3: Detailed have the
'LoggingLevel' option of runtests set
to 3.
Run Tests in Editor