About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 97
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Christopher (2 other programs)
See full specifications

scripts default iconmlunit_2008a (Scripts) Publisher's description

mlunit_2008a originally began as an update to mlUnit (), also available from MATLAB Central file exchange.

mlunit_2008a originally began as an update to mlUnit (http://sourceforge.net/projects/mlunit/http://sourceforge.net/projects/mlunit/), also available from MATLAB Central file exchange. The purpose was to add support for the new "classdef" style classes in MATLAB 2008a. However, I got a bit carried away, and the "update" became more or less a complete rewrite.

In general, if you are comfortable with the "xUnit" style unit test frameworks (e.g., jUnit), then you'll be very comfortable with this tool. Creating tests involves subclassing a class named TestCase, then adding methods whose names begin with "test". Inside each method you can use the inherited validation methods (assert, assertEquals, assertNotEquals) to check for success or failure. All tests are run automatically and their results recorded and reported after the run.

The GUI is simple, but nice; it uses the undocumented uitree widget to give hierarchical test results, and you also get nice visual feedback from the icons and such. As with mlUnit, you click on failed tests to see the error messages and stacktrace; you can select a line in the stacktrace and click a button to open a code editor and place the cursor at that location in your code. You also get the ability to add tests via a multiselect file dialog, for quick and easy use.

For those of you who prefer to run headless, there is also a simple text test runner with a clear API.

A note of explanation: when I began this (soon after the 2008a release), I didn't realize that the mlUnit developers were also updating their code for the new style classes (mlUnit 2.0). As it turns out, I like my version better so I'm releasing it anyway :)

Warning: Uses the undocumented/unsupported uitree widget, which Mathworks warns may change or go away in a future release.

System Requirements:

MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

mlunit_2008a (Scripts) Tags:

Click on a tag to find related softwares

Is mlunit_2008a (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.