File Exchange

image thumbnail


version (8.6 KB) by Felipe G. Nievinski
Software testing functions (interface similar to Octave's).


Updated 15 Mar 2011

View License

Run test('test') to check your installation.

Test cases are written as comment blocks at the end of an m-file. See the end of test.m, myassert.m, etc. for usage examples.

Use this if you have code that requires the interface of Octave's testing functions. Otherwise, the MATLAB xUnit Test Framework is recommended.

Cite As

Felipe G. Nievinski (2020). testit (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


included function to get CPU time resolution, useful when testing speed-ups.

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux