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 (2024). testit (https://www.mathworks.com/matlabcentral/fileexchange/30555-testit), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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