Home » Open Source Tools, Software Testing

JInjector: a Code Coverage and End-To-End Testing Framework for J2ME and RIM

12 January 2009 No Comment

A wide range of J2ME applications are GUI-rich with significant code dedicated to handle the user interface (UI). To maximize the chances of detecting bugs, effective testing of such applications require end-to-end testing on devices. Unfortunately there are few software tools suitable for testing J2ME applications. Our tool, JInjector, instruments the application under test in order to run automated tests in emulators and on the actual devices we need to support. At GTAC we will present two of the features provided by JInjector: code coverage, and end-to-end testing. As a proof-of-concept we will show a demo of an end-to-end test suite applied to Google’s Java ME YouTube client running both in the WTK emulator from Sun Microsystems, and on a Nokia N95. The injected code enabled testing of most of the features of the application, including search, login and video upload as well as navigate through the videos. We discovered that the injected code needed be customized to support the custom GUI code, and changes to the GUI code sometimes means the tests have to be updated – an ongoing maintenance task. We will also explain how this end-to-end test can be integrated with a build system

Related Posts:

Comments:

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*