This is a large release. Large, because it contains more changes than usual. That is due to a backend refactoring effort, meaning to merge the diverged test execution mechanisms. The second part of the refactoring is expected with the next 1.6.9 release. Other changes include:
mlUnit 1.6.7 is here. I won't say: more than a year in the making, because, you know, new year's puns.
The 1.6.7 release experienced an overhaul of the asserts' output. Expect assert_equals messages to be readable, and particularly broken down into its differing fields, if comparing structs. Stack traces of asserts are cropped to the interesting parts. There is more. A sample directory demonstrates most of the assert family's failure output.... read more
There's an mlUnit branch offering experimental GNU Octave support. Go [here][1] and select Download snapshot. Or checkout the branch 1.6.x octave support from the the subversion repository.
Simple assert failures and user errors seem to work. However, there remains a lot of debugging in order to make mlUnit test itself (i.e. the tests in the test
folder) under Octave. The next thing in need of fixing seems to be our run methods, that Octave gets confused with. They should probably get renamed.... read more
mlUnit 1.6.6 is online. Check out these improvements:
Hetu
mlUnit 1.6.4 is online. Prominently featuring eps tolerance for assert_equals, new function assert_warning and several fixes.
Latest development of mlUnit (1.6.3) now available in the Subversion repository and as file release.
Thanks to Thomas, he added me to this project a while ago. With a coulleage we decided to go on with this project. First we decided to go on with the mainanence of the 1.5.1 Version to be compatible with Matlab Version R14SP3 or newer.
mlUnit 2 is the re-implementation of mlUnit for MATLAB's new classdef
syntax. This not only allows to define all test methods in one file, but
also to put all test cases into one or more packages.
mlUnit is a unit testing framework for the MATLAB .m language, which
considers the patterns of the xUnit family, i.e. includes assertions, test
cases and suites as well as the fixture.
An example test case with the new syntax looks like this:
>> edit test.sin.m
classdef test_sin < mlunit.test_case
methods
function self = test_sin(varargin)
self = self@mlunit.test_case(varargin{:});
end... read more