Code covered by the BSD License  

Highlights from
MATLAB xUnit Test Framework

image thumbnail

MATLAB xUnit Test Framework

by

 

31 Jan 2009 (Updated )

MATLAB xUnit is a unit test framework for MATLAB code.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

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

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

Contact us