
|
July 11, 2006 |
|
|
| |
Mobile JUnit is a unit testing framework from Sony Ericsson, intended for Java
ME CLDC mobile phones, built on the popular, open source JUnit framework. The new Mobile JUnit and the Java ME, CLDC Developers' Guidelines are now available for download here>>
Unit testing aims to break down large systems into small parts and test each part to ensure correct behavior. Each part has a number of test cases, often contained as a wider umbrella test suite. Each test case essentially provides a rule that the code must adhere to.
Automated unit testing provides a number of benefits:
JUnit framework extended to CLDC platform
The benefits of automated JUnit testing are usually applicable to Java EE, SE and Java ME, CDC platforms. By extending the JUnit framework, Mobile JUnit allows automated unit testing to be introduced to CLDC devices, such as mobile phones. In a typical scenario a server based application might have extensive test cases where the mobile client relies on function testing alone. Network latency, connection quality or implementation details may adversely affect the quality of testing leading to a poor user experience.
Mobile JUnit provides support for both emulator and on-device testing enabling. No manual uploading of MIDlets or manually inspecting test results is needed.
![]() |
![]() |
![]() |
Mobile JUnit primarily supports Sony Ericsson phones, but most Wireless Toolkit emulated devices will also be able to run Mobile JUnit.
More information:
Copyright © 2001 - 2009 Sony Ericsson Mobile Communications AB. All Rights Reserved.