An Integrated Java ME Software Automatic Testing System

Author
WangZhengLei
Advisor
DuZhenJun
School
Dalian Maritime University
Major
Computer System Architecture
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
70
Citations
0

Request the full text

Abstract

Java platform is divided into Java SE,Java EE and Java ME,and each has its distinct application scope.Java ME is the abbreviation of Java Micro Edition.It is positioned in the mobile application system and can be used for mobile phone,PDA and other embedded products.Because of Java cross-platform nature,the Java ME software can run on the equipments supporting Java,without any modification.So,Java ME has practical value in the embedded software development that the software and hardware environment is very complicated.At present,people have realized the importance of software testing.Java ME technology is widely used at the same time;the importance of Java ME testing has attracted more and more attention.Thus,the research in testing of Java ME software has become a hot area of research in embedded field.In this paper,first of all,we have analysed software testing theory and technology; and then,on the basis of studying and comparing with a variety of popular Java ME testing frameworks,choose JT Harness/ME Frmaework as the test framework that this subject uses;then based on this framework and NetBeans6.5,study and realize an integrated Java ME software automatic testing system.A major task of this article has proposed and realized the design of integrated test suite and the method of establishing the test suite.We first design a NetBeans module project to expand the functions of development platform.The functions of the module are selecting Java ME project in NetBeans,creating a JT Harness/ME Frmaework test suite automatically and providing a compiler and implementation for the test suite.The other major task of the article has proposed and realized the method of obtainig test information and producing test data based on the source codes and UML statecharts.It also has producde the classes implemented by JT Harness/ME Framework based on the test data.When generating test data based on source codes and producing test classes,the article has used the new procedure analyse technology offered by JDK1.6 and NetBeas6.When generating test data based on UML statecharts,the article has achieved the transition coverage criteria. Through research and testing,the two main tasks have already been finished;the paper finally achieves the scheduled goals.The author believes the research in this paper has a certain referring values on Java ME automatic testing.

Table of contents

Abstract 5-6 Abstract 6-10 Chapter 1 Introduction 10-26 1.1 Background and Significance 10-11 1.2 Software Testing Technical Analysis 11-24 1.2.1 Software Testing Overview 11-17 1.2.2 software testing classification 17-19 1.2.3 object-oriented software testing 19-21 1.2.4 automated testing 21-22 1.2.5 Embedded Software Testing 22-24 1.3 of this article the main work 24-26 Chapter 2 JT Harness / ME Framework Testing Framework 26-52 2.1 class JUnit testing framework for comparative analysis 26-34 2.1.1 JMUnit 26-29 3.1.2 J2MEUnit 29-31 3.1.3 Mobile JUnit 31-34 2.2 the JT Harness / ME, Framework, testing framework 34-39 2.2.1 JT Harness 34-37 2.2.2 ME Framework 37-39 2.3 JT Harness / ME Framework test suite composed of 39-42 2.3.1 test suite composition and identify the file 39-41 2.3.2 a test suite example 41-42 2.4 JT Harness / ME Framework test class preparation 42-52 2.4.1 ME Framework to support the type of test describes 42-43 2.4.2 automatic test types 43-44 2.4.3 interact with test type 44-46 2.4.4 test method to write 46-49 2.4.5 test class description 49-52 Chapter 3 test system overall design 52-56 3.1 development environment introduced 52-53 3.2 overall system design 53-56 Chapter 4 test suite automatically create 56-66 4.1 Java ME project screening 56-59 4.2 test suite to design and create 59-63 4.3 test selection, compilation and execution 63-66 Chapter 5 test data automatically generated 66-90 5.1 source code to generate test data-based research 66-73 5.1.1 JDK1.6, and NetBeans6 in the program parsing technology 66-69 5.1.2 from the program for the design of the test information to achieve 69-72 5.1.3 from the program, test data generation algorithm 72-73 5.2 is based on UML state diagrams to generate test data 73-85 5.2.1 UML state diagram analysis 74-78 5.2.2 UML state diagram to test the application of analysis 78-81 5.2.3 to generate test data from the state diagram design and realization of 81-85 5.3 generate a test class 85-90 5.3.1 test class design and create a 85-87 5.3.2 operation 87-90 conclusions 90-92 References 92-94 papers published during the study for a degree 94-96 thank 96-98 graduate resume 98

Related dissertations

  1. Research on Some Key Technologies for Java ME Program Testing Platform
    WangWenJun ·Dalian Maritime University ·2008 ·Master's thesis
  2. Agile software optimization to improve its supporting tools for research
    ChenLing ·East China Normal University ·2006 ·Master's thesis
  3. Design and Implement of Travel Services Reservation System Based on Jave ME
    FangZuo ·Ocean University of China ·2010 ·Master's thesis
  4. Research on Batch Testing Platform Technology of the Acceleration Sensor
    XueYanHui ·University of North ·2014 ·Master's thesis
  5. Design and Implementation of Network Management Integrated Test System
  6. Research and Design of Test Paper Generation System Based on Genetic Algorithm
  7. Design and Implementation of Advertising Management System for Newspaper Office
    HuangKeYan ·Xiamen University ·2013 ·Master's thesis
  8. Automated Software Testing and Implementation Based Cube
  9. Development of the Automatic Test Software for Radar-seeker Based on LabVIEW
  10. The Design and Actualize of the IP Testing System
  11. Research on Parameter Identification System of Linear Low Resistance Network
    ChenZuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Diplopia Image Testing Equipment for Ophthalmoplegia Patients and Diagnostic Decision Support System
    GuoBaoTeng ·Harbin Engineering University ·2013 ·Master's thesis
  13. Research and Implementation of Ground Test System for Quantum Communication Payload on Space Platform
    LiChong ·Ningbo University ·2013 ·Master's thesis
  14. Design of Testing System for Control Circuit Board
    DaiJie ·Shanghai Jiaotong University ·2009 ·Master's thesis
  15. The Design and Development of General Avionics Bus Auto-Test System
  16. Research and Development of Airborne Radio Altimeter Automatic Test System Based on General Automatic Test Platform
    MaXiaoJie ·South China University of Technology ·2012 ·Master's thesis
  17. Hardware&Software Implementation of Test Platform for Series Products
    HeAiJun ·Shanghai Jiaotong University ·2012 ·Master's thesis
  18. The Design of Automatic Control System for Laser Particle Sizer
    LiLi ·University of Jinan ·2012 ·Master's thesis
  19. Implementation and Research on Tahi Automatic Test of Mldv2
    WangYang ·Donghua University ·2013 ·Master's thesis
  20. The Designing and Implementation of China Mobile Vas Web Services Automatic Testing Tool