![]() |
KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
Class Unit Testing Framework for Matlab. More...
Class Unit Testing Framework for Matlab.
This class allows to run tests within a OO-Based Matlab program
The most convenient way of calling MUnit is to use
After testing, you can simply re-run the last command, and the subsequently successful tests (after e.g. fixing) will automatically be added to the done cell array.
Static Public Member Functions | |
static function
succeeded = | RunClassTests (dir, returnonerror, exclude) |
Runs class tests recursively within the specified path. More... | |
Static Public Attributes | |
static const | TestFunctionPrefix = "test_" |
The prefix for any function that will be detected in the MUnit testing process. More... | |
static const | GreenCol = "[0 .5 0]" |
Green color (the default is hardly readable) More... | |
static const | BlueCol = "*"[0 0 .8]"" |
Blue color. More... | |
static const | WarnCol = "*"[1 .4 0]"" |
Warning color. More... | |
|
static |
Runs class tests recursively within the specified path.
If no path is given, the current directory (cd) is used.
Within the path any static methods from classes beginning with the TestFunctionPrefix
are detected and executed.
After running all tests a summary is provided.
Definition at line 98 of file MUnit.m.
References KerMor.App(), cprintf(), and GreenCol.
|
static |
|
static |
Green color (the default is hardly readable)
Default: "[0 .5 0]"
Definition at line 69 of file MUnit.m.
Referenced by RunClassTests(), and approx.BaseApprox.test_ApproxProjections().
|
static |
|
static |