mlUnit is a unit testing framework for the MATLAB .m language. It considers the patterns of the xUnit family, include assertions, test cases and suites as well as the fixture. In contrast to MATLAB’s own unit test framework:
- mlUnit output jUnit compatible XML reports
- mlUnit is compatible with Your MATLAB (not just R2013b), down to at least R2006b
- mlUnit offers specialised assert functions, e.g. assert_empty, assert_warning, and many more.