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.