Holiday Gift Guide »

Mobile JUnit application testing framework for Java ME released

Categories: Developer
By: , IntoMobile
Wednesday, September 27th, 2006 at 10:55 AM

Sony Ericsson Developer World announced the release of a new, best practice framework for improving application quality on Java Platform Micro Edition (Java ME). Sony Ericsson Mobile JUnit 1.0 for Java ME Connected-Limited-Device-Configuration (CLDC) phones offers professional wireless developers easy-to-use, automated testing of mobile applications. The announcement underscores the commitment of Sony Ericsson Developer World to help developers achieve business success by providing assistance throughout the entire development and go-to-market process for commercial applications.

Sony Ericsson Mobile JUnit 1.0 is of benefit to developers of both games and complex Java enterprise applications (i.e. mobile banking service). It specifically addresses the challenges of testing Java ME applications without increasing development time and costs. In order to improve the quality of an application coming to market and thereby give consumers a better user experience, developers may typically use unit testing programs, which test how a single unit of code is working. Unit testing aims to break down large applications or systems into small parts with a number of specific test cases and then test each part to ensure correct behavior, all with the aim to find and correct bugs before commercializing an application.

Unit testing for applications written in Java SE (Standard Edition) is primarily done using the popular, open-source JUnit framework, a regression testing framework allowing programmers to test their own software. With the release of the Sony Ericsson Mobile JUnit, a comprehensive set of guidelines and principles for Java ME CLDC unit testing is available for the first time.

During development, Java ME applications must be tested while running within a desktop emulator or on the mobile phone the application is aimed for. On-device testing is particularly important since emulators cannot accurately reproduce all aspects of the final running environment. The Sony Ericsson Mobile JUnit enables fully automated regression testing of CLDC applications both in the emulator and on the real phone, resulting in higher quality applications while simplifying the process for finding and debugging code. In addition, after the application has been released, Mobile JUnit aids future development work by eliminating the introduction of new bugs to the code.

Mobile JUnit and a special interest paper can be downloaded for free from the Java Docs & Tools section of the Sony Ericsson Developer World portal. Mobile JUnit depends on the Sun Java Wireless Toolkit for CLDC (WTK) and can be used with any development tool that incorporates or extends the WTK, such as the Sony Ericsson SDK for the Java ME Platform.

SPONSORED MESSAGE
Get free domestic and international calls and texts to anyone with the Vonage Mobile app available as an iPhone calling app or Android calling app.

About The Author

Dusan Belic

Dusan has been using smartphones since their introduction and is now following the latest trends in the industry. The "convergence" is what he's most excited about, and writing about it is the next logical thing to do. He thinks that using a smartphone is what everyone who cares about their time should do. In addition to his interests in mobile phones, Dusan also loves to experiment with the latest web and mobile 2.0 services. The idea of accessing and managing your information from any device no matter where you are simply amazes him. Whether it's an online to-do list, note taking service or a video sharing social network, he's there to try it out. He admits though, he's still searching for the ultimate web-based organizational tool, which "sings" perfectly with the mobile PIM application. Dusan used to run SymbianWatch.com which later became part of IntoMobile. He lives in Serbia, South-East Europe, from where he edits the site on a daily basis.