A new version of MGunit is available. (You will also need MG_SRC_ROOT.) I’m just labeling the version with the Subversion revision number, so this is revision 12. The main changes are a new test runner that produces HTML output and some name changes. See the release notes in the full post for details of the changes.

If you use Subversion, you can get updates for mgunit via the command:

svn co http://svn.idldev.com/mgunit/trunk/mgunit

I’m going to releasing more code via Subversion in the future.

UPDATE 4/17/2017: Get updates here now.

Release notes

This is the list of changes from the last release until now (revision 12):

  1. Renamed class names to use ut code like in MGutTestCast or MGutTestSuite to be more consistent with style guidelines.
  2. Added an HTML output test runner; added HTML keyword to MGUNIT.
  3. Changed OUTLOG keyword to MGUNIT to FILENAME.
  4. Added better error handling for invalid test cases.
  5. Added an ALL keyword in MGutTestCase::add. As long the unit tests’ class names end in _ut and test suites’ class names end in _uts, only one test suite needs to be created at the root level—all other suites will be created automatically.

See Fixtures: update to unit testing framework and Unit testing framework for more information about the testing framework.