Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MATLAB testing framework

Tags:

testing

matlab

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.

like image 613
iddober Avatar asked Sep 13 '09 09:09

iddober


People also ask

What is the purpose of testing framework in MATLAB?

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.

What is testing in MATLAB?

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.

Is MATLAB a framework?

MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks.

How do I run a test in MATLAB?

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.


1 Answers

There are several listed on the c2 wiki. xUnit and mlunit_2008a seem to be the most highly regarded.

like image 190
Richie Cotton Avatar answered Sep 21 '22 23:09

Richie Cotton