eqator
play

eQATor testing Java phones all day and all night long Anders - PowerPoint PPT Presentation

eQATor testing Java phones all day and all night long Anders Fornander & Nicolas Wettstein JUGS January 27, 2005 1 eQATor I Introduction II Demonstration III Architecture IV Project V Q & A 2


  1. eQATor testing Java     phones all day and all night long Anders Fornander & Nicolas Wettstein JUGS January 27, 2005 1 eQATor

  2. I – Introduction II – Demonstration III – Architecture IV – Project V – Q & A 2 eQATor

  3. Introduction – eQATor Summarized eQATor is a framework for automated software regression testing and quality monitoring. eQATor has been built for testing of esmertec’s J2ME  CLDC products but is a generic framework. eQATor has been implemented through heavy use of open source tools 3 eQATor

  4. Introduction – Motivation for eQATor Customers require it => no mobile-phone customer will accept a not validated Java  on their telephone. High frequency of Jbed  CLDC releases => development code must be close to production quality all the time. Reduction of production costs => automation is the only valid alternative due to many possible configurations and required regression test-cycle times (manual testing would be too expensive). 4 eQATor

  5. Introduction – Jbed CLDC MIDlets Jbed  CLDC is 1 esmertec‘s 0 . 1 0 0 . 0 . . . 1 . Java  2 AMS 2 1 1 1 I 1 I P P A G P Platform Micro A D W M 3 I M T M Edition (J2ME  ) I M W J M M CLDC technolgy implementation CLDC 1.0 or 1.1 VM embedded FastBCC or FastDAC OS Porting Layer 5 eQATor

  6. Introduction – Technology Compatibility Kit (TCK) A Java  Specification Request (JSR) requires a Technology Compatibility Kit (TCK). A TCK is a suite of test cases that determines whether or not a product complies with a particular Java  technology specification. JSR / Technolgy: Test Cases: Number Automated: JSR-30 / CLDC 1.0 4 560 4 560 JSR-139 / CLDC 1.1 11 471 11 471 JSR-118 / MIDP 2.0 782 657 JSR-205 / WMA 1.1 49 42 JSR-135 / MMAPI 1.1 122 122 JSR-185 / JTWI 1.0 180 175 JSR-184 / M3G 1.0 160 144 JSR-195 / IMP 1.0 104 104 Total: 17 428 (99%) 17 275 6 eQATor

  7. Introduction – Benchmarks In addition to the different TCK test suites a set of benchmark tests are performed. All the benchmarks are commercial, i.e. developed by 3 rd party vendors and organizations. Different parts of the Jbed  CLDC implementation are measured. Benchmark: Description: CaffeineK Measures the performance of basic KVM features AMark Measures the implementation in terms of its applicability for mobile phone games Benchpress Measures the graphical performance EEMBC PNG decode Measures PNG image decoding speed EEMBC parallel Measures performance of KVM threading capabilities EEMBC kXML Measures XML parsing and DOM tree manipulation Mbooks Measures basic math operations and method calls 7 eQATor

  8. Introduction – Additional Special Tests Smoke Testing – A smoke test is a “hello world” midlet that is down-loaded, (compiled), installed, executed, i.e. says hello over a network socket. This test checks that all functionality are working needed for running TCK. Distribution Testing – A distribution test is the validation that a generated Jbed  CLDC installer.exe contains the correct artifacts (sources, classes, docs, etc.) for that specific release. Size Measurements – Two types of size measurements are performed: executable segment size measurement (data, bss, text) and Java  package size measurement (byte code size). 8 eQATor

  9. Introduction – Test Processes R/D eQATor Web Size Pages Smoke Measuring Developer Test 01:25 Checkins (a) 01:20 Build Distribution 00:30 01:30 Reporting 24x7 Code Checkout File Mgmt 00:00 Dir System TCK Sructure Report 02:00 Data Base Benchmark (b) 20:30 Build Per Result Change Parsing 24x7 24x7 (a) includes distribution tests (b) includes „historical and statistic data“ 9 eQATor

  10. Introduction – Test Data Structure A perforce number is a clearly defined source code version. 10 eQATor

  11. Demonstration 11 eQATor

  12. Architecture – Scheduling/Distribution Checkout 1 Checkout 2 The scheduler is responsible for the distribution and execution of tasks on the client cluster. It Build TCK T 1 T 2 Must takes into account: • Task interdependencies • Priorities, deadlines Smoke Benchmark T 1 T 2 Test • Easy scalability The scheduler should try to Optimize the client load, i.e. minimize each client’s idle time . 12 eQATor

  13. Architecture – Components/Deployment Python MySQL Windows XP Cygwin Python Python Java DevSim Jbed Build Chain Distribution Scripts Apache Python CGI scripts TCKs (JavaTest) Samba Benchmarks 13 eQATor

  14. Project – Team and Milestones Project team: 3 engineers (full-time) 1 student (3 months internship) 1 project manager (part-time) Project milestones: start March 2004 v1.0 in production July 2004 v2.0 in production October 2004 (improved web interface, more detailed information) Size of current production environment: 12 PC clients (eQATor clients) 4 Linux Servers (DB, Web, Scheduler, Monitor) 14 eQATor

  15. Questions & Answers 15 eQATor

  16. List of URLs Jbed CLDC - www.esmertec.com/solutions/mobile_multimedia J2ME - java.sun.com/j2me JSRs - www.jcp.org/en/jsr/all TCK - www.jcp.org/en/resources/tdk STAF - staf.sourceforge.net/index.php Python - www.python.org Apache - www.apache.org MySQL - www.mysql.com 16 eQATor

  17. J2ME Technologies – Connected Limited Device Configuration (CLDC) The Connected Limited Device Configuration (CLDC) defines the base set of application programming interfaces and a virtual machine for resource-constrained devices like mobile phones, pagers, and mainstream personal digital assistants. When coupled with a profile such as the Mobile Information Device Profile (MIDP), it provides a solid Java  platform for developing applications to run on devices with limited memory, processing power, and graphical capabilities. 17 eQATor

  18. J2ME Technologies – Mobile Information Device Profile (MIDP) The The Mobile Information Device Profile (MIDP) is a key element of the Java  2 Platform, Mobile Edition (J2ME). When combined with the Connected Limited Device Configuration (CLDC), MIDP provides a standard Java  runtime environment for today's most popular mobile information devices, such as cell phones and mainstream personal digital assistants (PDAs). MIDP provides: user interface capabilities (optimized for the small display size, varied input methods, and other native features of modern mobile devices), extensive connectivity (HTTP, HTTPS, datagrams, sockets, server sockets, and serial port), multimedia and game functionality, and secure over-the-air-provisioning capability. 18 eQATor

  19. J2ME Technologies – Wireless Messaging API (WMA) The Wireless Messaging API (WMA) is an optional package for the Java  2 Platform, Mobile Edition (J2ME) that provides platform-independent access to wireless communication resources like Short Message Service (SMS). Currently WMA can be used on top of CLDC and MIDP. 19 eQATor

  20. J2ME Technologies – Mobile Media API (MMAPI) The Mobile Media API (MMAPI) extends the functionality of the J2ME platform by providing audio, video and other time- based multimedia support to resource-constrained devices. As a simple and lightweight optional package, it allows Java developers to gain access to native multimedia services available on a given device. 20 eQATor

  21. J2ME Technologies – Java Technology for Wireless Industry (JTWI) The Java  Technology for the Wireless Industry (JTWI) specification defines the industry-standard platform for the next generation of Java  technology-enabled mobile phones. JTWI specifies the technologies that must be included in all JTWI-compliant devices, to minimize API fragmentation and broaden the substantial base of applications already developed for mobile phones. 21 eQATor

  22. J2ME Technologies – Mobile 3D Graphics (M3G) The Mobile 3D Graphics specifies a lightweight, interactive 3D graphics API, which sits alongside J2ME and MIDP as an optional package. The API is targeted at CLDC class devices that typically have very little processing power and memory, and no hardware support for 3D graphics or floating point math. However, the API scales also up to higher-end devices featuring a color display, a DSP, a floating point unit, or even specialized 3D graphics hardware. 22 eQATor

  23. J2ME Technologies – Information Module Profile (IMP) When combined with the CLDC, the Information Module Profile (IMP) provides a Java  2 Platform, Mobile Edition (J2ME) application environment for networked embedded devices that do not have rich graphical display capabilities, or whose resources are limited in other ways: emergency call boxes, parking meters, wireless modules in home alarm systems, industrial metering devices, and the like. 23 eQATor

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend