MATLAB xUnit Test Framework: How to Run Tests in Specific Directories

To run all the test cases in a specific directory, give the name of the directory as an argument to runtests.

For example

runtests example_subfunction_tests
Starting test run with 2 test cases.
..
PASSED in 0.062 seconds.

To run tests in multiple directories, give each directory name as a separate argument to runtests.

Back to MATLAB xUnit Test Framework