MoMEUnit is an instance of the xUnit architecture for unit testing of J2ME applications. It is derived from the JUnit framework. It is only CLDC 1.1 compliant. It overcomes the lack of a reflection API in the J2ME MIDP API and supports main features of the JUnit framework such as ease of development and running of tests, sharing of fixtures among different tests, the ability to perform simultaneous test runs, and much more. The results of tests are displayed with a progress bar, statistics, and lists of failures or errors with detailed messages for each test.
|Tags||Software Development Libraries Java Libraries Testing|
|Operating Systems||OS Independent|
Release Notes: preverify, haltonerror, and haltonfailure functionality has changed. Java 1.2 compliance of the Ant integration package has been established. The 4device package is included, and minor and major bugs have been fixed. Developers can specify preverification of classes or the whole jar file, to cease test execution on error or failure, and use the new 4Device package as library for building J2ME test applications to be deployed on mobile devices.
Release Notes: Timeout functionality was added and minor bugs were fixed. Timeout functionality gives developers possibilities to handle infinite loops and long running tests and detect offending ones by stopping test execution after a given amount of time and reporting the offending test as erroneous.
Release Notes: Ant integration was added. Its tasks calculate lists of tests to run based on Test interface implementation and specified patterns, free developers from specifying test cases explicitly, run test cases of already built J2ME applications or build it based on source files, classes, and libraries specified, format test run output by using predefined or custom formatters (all test characteristics including times and stack traces are available), and give developers the ability to choose emulator and preverify tools and specify JAD attributes.
No changes have been submitted for this release.