mgunit 1.2 API documentation

Unit testing framework for IDL

single page | use frames    directories     project statistics

Overview

mgunit is a unit testing framework modeled on other xUnit testing frameworks. The goal is to allow easy creation and reporting of results of tests, while still allowing for many different testing situations. Simple naming conventions replace formal creation of hierarchies and specification of tests. This allows test suites to be created with a minimum of code beyond the actual code of the tests themselves.

The basic structure of mgunit is that tests are created by subclassing MGutTestCase, tests can be grouped together into suites for convenience by subclassing MGutTestSuite, and tests are run my calling MGUNIT. The ASSERT routine is useful inside a test for making an assertion during the test. The error_is_pass.pro batch file is useful to include in a test when the test is supposed to crash.

See "Using mgunit" in the docs/ directory for more details about using mgunit.

Directories

./

classes and launch/helper routines which comprise mgunit

gui/

tools for testing GUI applications

Author information

Author:

Michael Galloy

Copyright:

BSD license

Project statistics

Directories: 2
.pro files: 11
.sav files: 0
Routines: 360
Lines: 1,385
Required IDL version: 8.0