No BSD License  

Highlights from
MUnit: a unit testing framework in Matlab

3.75

3.8 | 5 ratings Rate this file 11 Downloads (last 30 days) File Size: 32.24 KB File ID: #11306

MUnit: a unit testing framework in Matlab

by Gabriele Lombardi

 

05 Jun 2006 (Updated 06 Jun 2006)

A complete unit testing framework in Matlab

| Watch this File

File Information
Description

This is a complete unit testing framework in Matlab that includes test cases, test sets, automated collecting of complex test trees from the file system, automated parsing of tests to anable the user to just-write-tests, test fixtures, test callbacks, selectable and reimplementable test runners, simple to use (execution with just a command without parameters).

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
munit
This submission has inspired the following:
Doctest - embed testable examples in your function's help comments

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
07 Nov 2007 Riccardo Meldolesi

Easy to use and does the job. Also a good example of use of Matlab classes.

18 Jan 2008 Atul Deshmukh  
01 Apr 2008 Sunil Lengare

Thank you for material

30 Mar 2010 Paul Kaletta  
30 Mar 2010 Paul Kaletta

The documentation is full of spelling mistakes, some of them are quite comical. For example the api uses "shoutdown" where "shutdown" was probably meant.

The demo does not appear to work in with the R2009a release of Matlab, on my computer it aborts in Line 188 of the file testcollect.m with the error message "Undefined function or method 'SfactoryTemplate' for input arguments of type 'char'."

This package would be just what I'm looking for, if it actually worked.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
unit testing Gabriele Lombardi 22 Oct 2008 08:27:59
complete Gabriele Lombardi 22 Oct 2008 08:27:59
munit Gabriele Lombardi 22 Oct 2008 08:27:59
framework Gabriele Lombardi 22 Oct 2008 08:27:59
utilities Gabriele Lombardi 22 Oct 2008 08:27:59
unit test Ryan Ollos 23 Sep 2009 16:22:17
xunit Ryan Ollos 23 Sep 2009 16:22:17
complete Christian 12 Dec 2010 11:28:26

Contact us at files@mathworks.com