Skip to main content

Java Device Test Framework released

Posted by terrencebarr on May 27, 2009 at 4:44 PM PDT


Today marks the release of the Java Device Test Framework (JDTF) project into the Java Mobile & Embedded Community.

JDTF is a test framework based on Sun Microsystems Java Device Test Suite (JDTS) product. JDTF is a general purpose, fully-featured, flexible, and configurable test framework suited to assess various aspects of Java Platform, Micro Edition (Java ME) device implementation quality, such as fitness, interoperability, reliability, and performance. The framework is a set of JT harness plug-ins that facilitates the running of quality test suites on Java ME devices.

Java Application Terminal Alignment Framework (JATAF) has chosen JDTF as the test framework for running its test suite. JATAF is a collaboration between four companies - Orange, SonyEricsson, Sun Microsystems and Vodafone — interested in making Java ME a ubiquitous platform for application deployment.

JDTF Features

JDTF is designed to create, configure, sequence and run multiple test suites that consist of large numbers of discrete, independent tests and is a comprehensive solution for quality testing on the Java ME / CLDC / MSA platforms. The framework enables you to:

  • Develop sets of device fitness tests for your application
  • Create test suites that are self-contained products that customers can easily configure and run
  • Create JDTS-compatible test suites
  • Share test suites with other partners (a test suite is a Zip file)

This release includes capabilities and features that enable you to:

  • Generate new “Skeleton” test suite projects and new stub test classes
  • Write tests using the NetBeans integrated development environment
  • Run the tests on a Java ME/CLDC device
  • Debug the tests on JPDA (Java Platform Debugger Architecture) enabled emulators or devices
  • Import JDTS 2.3 Developer Kit sample projects or user-written test pack projects of the same format

More information on JDTF can be found at the JDTF project home page.

Come see us at JavaOne and CommunityOne

Visit us at the JDTF Pod (#444) in the JavaOne Pavilion. We'd love to see you.

In addition, the engineering leads for the cqME, JDTF, JTHarness, and SigTest projects will be available at JavaOne and CommunityOne. You can meet us, and hear about recent developments at sessions and lightning talks. Here's the schedule:


  • Mon., 2:40 pm — Moscone-ESP 303: Lightning Talk – The cqME and Testing Tools Projects
    (Overview, all project leads will be present)


  • Wed., 6:30 pm — BOF-6731: Mobile and Embedded Lightning Talks
    Topics include:
    • JT harness / JavaTest
    • SigTest project
    • ME Framework project
  • Thu., 10:50 am — PAN-7083: JATAF Panel: What Is It, How To Use It
  • Thu., 1:30 pm — TS-6263: Device Fitness Testing


-- Terrence


DeviceAnyWhere Pro kind of Test Automation

Hi Terraence, Would this test framework allow the developers to build test automation around the JavaME applications which developers develop. i.e Does it support writing of the tests like the DeviceAnyWher Pro API of MobileComplete test automation solution.. If not are there any plans for JSR team to introduce such api in future to write automated tests a breeze in the mobile world.. Regards, Raja Nagendra Kumar, C.T.O TejaSoft


I am not an expert in test automation so I am not very familiar with DeviceAnyWhere Pro. Have you looked at the JDTF documentation? Also, you could post your question on the JDTF forums.

-- Terrence