I am using MATLAB R2008a, what testing framework is available and what is recommended. the need for comprehensive from having to refactor a 5 kloc matlab application to Matlab oop.
The unit testing framework provides test tool authors the ability to extend test writing through custom constraints, diagnostics, fixtures, and plugins. For example, you can create a custom plugin and use it to extend the test runner when you run your script-based, function-based, or class-based unit tests.
Test the functionality and performance of your MATLAB® code. Testing your code is an integral part of developing quality software. To guide software development and monitor for regressions in code functionality, you can write unit tests for your programs.
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks.
Run Tests in Working FolderCreate a folder myExample in your current working folder, and change into that folder. In the myExample folder, create a test script, typeTest. m . In the myExample folder, create a test script, sizeValueTest.
There are several listed on the c2 wiki. xUnit and mlunit_2008a seem to be the most highly regarded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With