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 runxunit.
For example
runxunit example_subfunction_tests
Test suite: example_subfunction_tests 20-Feb-2014 19:59:08 Starting test run with 2 test cases. .. PASSED in 0.025 seconds.
To run tests in multiple directories, give each directory name as a separate argument to runxunit.