<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to news</title><link>https://sourceforge.net/p/mlunit/news/</link><description>Recent posts to news</description><atom:link href="https://sourceforge.net/p/mlunit/news/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 14 Apr 2015 11:28:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mlunit/news/feed.rss" rel="self" type="application/rss+xml"/><item><title>mlUnit 1.6.8 released</title><link>https://sourceforge.net/p/mlunit/news/2015/04/mlunit-168-released/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;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:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;improved report&lt;/li&gt;
&lt;li&gt;new output options: linked_trace, abbrev_trace, verbose&lt;/li&gt;
&lt;li&gt;environment reset after tear_down&lt;/li&gt;
&lt;li&gt;console report will be put out live, so that any debugging statements fall in line&lt;/li&gt;
&lt;li&gt;refreshed R2006b compatibility&lt;/li&gt;
&lt;li&gt;various fixes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Have fun.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Tue, 14 Apr 2015 11:28:50 -0000</pubDate><guid>https://sourceforge.net865f4270d95efc3e56ecb99cd554a7bac1d2285a</guid></item><item><title>mlUnit 1.6.7 released</title><link>https://sourceforge.net/p/mlunit/news/2015/01/mlunit-167-released/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;mlUnit 1.6.7 is here. I won't say: more than a year in the making, because, you know, new year's puns.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;There was a rule that test files must provide their function signature on the very first line. This has been relaxed to just the first non-empty, non-comment line.&lt;/p&gt;
&lt;p&gt;The release also contains fixes for subtle and not-so-subtle bugs and the random improvement.&lt;/p&gt;
&lt;p&gt;Have fun.&lt;br /&gt;
Hetu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Thu, 08 Jan 2015 14:32:46 -0000</pubDate><guid>https://sourceforge.netb1cfa140fb563c9a8e271d279e6708b5bbd844f8</guid></item><item><title>Experimental Octave support</title><link>https://sourceforge.net/p/mlunit/news/2014/06/experimental-octave-support/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There's an mlUnit branch offering experimental GNU Octave support. Go &lt;a href="https://sourceforge.net/p/mlunit/mlunit/HEAD/tree/branches/1.6.x%20octave%20support/"&gt;here&lt;/a&gt; and select &lt;em&gt;Download snapshot&lt;/em&gt;. Or checkout the branch &lt;em&gt;1.6.x octave support&lt;/em&gt; from the the subversion repository.&lt;/p&gt;
&lt;p&gt;Simple assert failures and user errors seem to work. However, there remains &lt;strong&gt;a lot&lt;/strong&gt; of debugging in order to make mlUnit test itself (i.e. the tests in the &lt;code&gt;test&lt;/code&gt; 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.&lt;/p&gt;
&lt;p&gt;When using mlUnit with Octave, add all paths to the Octave search path. For example, change into mlUnit's topmost directory, and enter:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;addpath&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;genpath&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pwd&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This should make work a) mlUnit, b) the samples, and c) the internal test cases. Also frequently refresh the function cache, since we experienced strange error messages when not doing this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;clear&lt;/span&gt; &lt;span class="nx"&gt;functions&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The actual version tested was GNU Octave 3.6.4 on Windows.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Fri, 20 Jun 2014 11:12:21 -0000</pubDate><guid>https://sourceforge.net6cae4bd4aac496122a1a3d47aee63a9fd472dafe</guid></item><item><title>mlUnit 1.6.6 released</title><link>https://sourceforge.net/p/mlunit/news/2013/12/mlunit-166-released/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;mlUnit 1.6.6 is online. Check out these improvements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;recursive_test_run also recognizes class-based test cases&lt;/li&gt;
&lt;li&gt;recursive_test_run prints result overview&lt;/li&gt;
&lt;li&gt;consistent usage of assert_error and assert_warning&lt;/li&gt;
&lt;li&gt;handling NaN equality is now done by a parameter&lt;/li&gt;
&lt;li&gt;several improvements to tolerance checking&lt;/li&gt;
&lt;li&gt;several fixes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hetu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Sat, 14 Dec 2013 12:08:13 -0000</pubDate><guid>https://sourceforge.net10e18bd75025696f9dab42946f21615d18dcc4cc</guid></item><item><title>mlUnit 1.6.4 released</title><link>https://sourceforge.net/p/mlunit/news/2013/05/mlunit-164-released/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;mlUnit 1.6.4 is online. Prominently featuring eps tolerance for assert_equals, new function assert_warning and several fixes.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Mon, 27 May 2013 15:47:09 -0000</pubDate><guid>https://sourceforge.net2c356afeadae43c85039d457a0979707e416a11c</guid></item><item><title>Catching up on latest development</title><link>https://sourceforge.net/p/mlunit/news/2012/09/catching-up-on-latest-development/</link><description>Latest development of mlUnit (1.6.3) now available in the Subversion repository and as file release.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hetu</dc:creator><pubDate>Fri, 28 Sep 2012 10:49:10 -0000</pubDate><guid>https://sourceforge.net65209a7cde72eccd6582fd15245a3df1b47f1628</guid></item><item><title>mlUnit 2.0 Beta 1 released</title><link>https://sourceforge.net/p/mlunit/news/2008/04/mlunit-20-beta-1-released/</link><description>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:
&amp;gt;&amp;gt; edit test.sin.m
classdef test_sin &amp;lt; mlunit.test_case
       methods
            function self = test_sin(varargin)
                self = self@mlunit.test_case(varargin{:});
            end

            function self = test_null(self)
                mlunit.assert_equals(0, sin(0));
            end

            function self = test_sin_cos(self)
                mlunit.assert_equals(cos(0), sin(pi/2));
           end
  end
end
(sorry, no indention allowed in SourceForge news entries)
and can be executed by the following commands:
&amp;gt;&amp;gt; runner = mlunit.text_test_runner(1, 1);
&amp;gt;&amp;gt; loader = mlunit.test_loader;
&amp;gt;&amp;gt; run(runner, load_tests_from_test_case(loader, 'test_sin'));

Please note that MATLAB R2008a or newer is required to run mlUnit 2!

This is a beta release. If you have a question, a comment or a bug report, 
please send an email to thomas@dohmke.de. Usually I try to answer within 
24 hours. Spam and other crap goes automatically to the trash bin, so 
please use a precise subject.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Axel Berres</dc:creator><pubDate>Thu, 27 Sep 2012 19:11:36 -0000</pubDate><guid>https://sourceforge.net29079b66405e336a812834266627e088df0930d9</guid></item><item><title>Project reopend</title><link>https://sourceforge.net/p/mlunit/news/2012/04/project-reopend/</link><description>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. </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Axel Berres</dc:creator><pubDate>Thu, 27 Sep 2012 19:11:36 -0000</pubDate><guid>https://sourceforge.net7e6056cf34071c0f2ca64773ef44700122d51dab</guid></item></channel></rss>