views:

45

answers:

1

What are the unit-testing frameworks for MATLAB out there, and how do they compare? How should I choose one for our project? What are their pros and cons?

+3  A: 

I think the most popular framework for MATLAB is xUnit Test Framework available on File Exchange. Very flexible and well documented.

Some other unit-testing tools are listed here and here.

Another very recent and interesting File Exchange submission is Doctest. Not exactly unit-testing framework though, it works like doctest in Python. I haven't tried it yet, but looks very promising for simple tests embedded into function's help.

yuk