An instance of the xUnit architecture for unit testing of J2ME applications. It is derived from JUnit framework. It is CLDC 1.1 complied. Includes MIDletTestRunner - a fully configurable MIDlet to run tests in emulator or mobile device.
Be the first to post a text review of MoMEUnit. Rate and review a project by clicking thumbs up or thumbs down in the right column.
MoMEUnit is an instance of the xUnit architecture for unit testing of J2ME applications. It is derived from well known JUnit framework. It includes ant integration package and MIDletTestRunner. Together with it's extensions it offers ease of development and run of tests, sharing the same fixture among different tests, specifying different or modified fixture for a group of tests, running test in fresh fixture, independence of tests runners, calculation of list of tests to run based on Test interface implementation and given patterns, running test cases of already built J2ME application, building test application on behalf of developer based on source files, classes, resources and libraries specified, preverification of J2ME application before running tests, formating of tests run output by using predefined or custom tests results formatters like in <junit> task, choice of emulator and/or preverify tool to run by specifying predefined or custom emulator or preverifier, configuration of test J2ME application by specifying attributes of application JAD descriptor and/or manifest. In this version preverify, haltonerror, haltonfailure functionalities were changed and java 1.2 compliance was established of ant integration package, 4device package was included and minor and major bugs were fixed. Because of improper functionality of Sun preverify tool when operating on jar file especially if used together with jar tool from other (not Sun) vendor, <momeunit>'s preverify functionality was changed. If preverify attribute is set to on classes of J2ME test application will be preverified only if <momeunit> is used to build it. In this case preverify tool is operating on directories and classes. If preverify attribute is set to appJar momeunit will preverify whole application jar file, regardless was it built by <momeunit> or not. In this case preverify tool is operating on the jar file. Setting haltonerror, haltonfailure attributes to on causes <momeunit> to stop build process on error or failure but not cease tests execution. This gives developers possibilities to obtain results of all tests run. To achieve <junit>'s like functionality developers should supply withCease value to haltonerror and/or haltonfailure attributes. In this case tests execution is ceased if an error or failure occurred. 4Device package, was included in distribution, contains momeunit framework and MIDletTestRunner classes. It is intended to serve as a library for building J2ME test applications to be deployed on mobile device. Ant integration package is now java 1.2 compliant. Should be no problems running ant integration package using different JVMs. You can download it from https://sourceforge.net/project/showfiles.php?group_id=196415 More details at http://momeunit.sourceforge.net
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: