The Study of Theory and Technology of Testing Using TTCN-3

Author
XingXueZhi
Advisor
WangZuoFa , JiangFan
School
University of Science and Technology of China
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2010
Downloads
214
Citations
4

Request the full text

Abstract

With the rapid development of software with universal application, software quality has become an important research topic. One of the most direct software testing is to improve software quality, most effective, is the most widely used method [1]. Software testing, the researchers and the industry has been dreaming of [2]: a unified theory of testing, 100% test automation, test-based model and efficient test engineering. Currently, the difficulties faced by the software testing: testing management complexity and diversity of the test environment, the test is difficult to guarantee completeness [3]. TTCN-3 is a dedicated language ETSI (European Telecommunications Standards Institute) for testing. It defines many specific abstract and concise language elements conducive to test the hierarchical division of labor and reuse, provide a good mechanism for efficient test engineering development, and provide a unified testing framework for the different areas of the test, help unify the test theory formation, the beneficial software test automation advancing, is conducive to the development and application of the test model. In concept, TTCN-3 testing process provides a good abstraction and support. Of course, the TTCN-3 test solutions depends on the further development and improvement. Three difficult software testing theory and technology of TTCN-3 test modeling, test analysis, test execution, and proposes a framework based on TTCN-3 test. First, TTCN-3 abstract test object and test process modeling. Then, parse TTCN-3 script extracting semantic information, to establish a testing process executable object, followed by different test object adapter, the completion of the testing process of the different test objects. Finally, based on symbolic execution analysis and interpretation of the implementation, translation and implementation of the technology to improve the availability of TTCN-3 test framework to improve the degree of automation of the testing process. The main contribution of this paper is as follows: 1. Proposed to test a total conversion feature TTCN-3 test model, and the use of TTCN-3 on GUI testing, Web testing method for modeling. A result of the testing process, convert TTCN-3 test unified model; different test implementation process, into a unified TTCN-3 compiler implementation process. Detail TTCN-3 compiler construction method, the symbolic execution of TTCN-3 language technology, and the use of symbolic execution technology TTCN-3 script correctness analysis to automatically generate test inputs. Detail the implementation of the two modes (compile - compile - execute mode, virtual machine platforms mode) of the realization of its characteristics, and thus propose an integrated implementation of the two modes, analysis of TTCN-3 execution The performance of the method, and gives the relevant data. Web test, NFC test example, propose a universal codec framework, TTCN-3 test how the large-scale industrial tests, the application of the proposed framework.

Table of contents

Abstract 5-6 ABSTRACT 6-8 directory 8-11 Figures 11-13 Table of Contents 13-14 Chapter 1 Introduction 14-24 1.1 Background and status 14-18 1.1.1 software testing 14 1.1.2 TTCN-3 14-16 1.1.3 TTCN-3 and test 16-18 1.2 research 18-19 1.2.1 TTCN-3 modeling technology 18 1.2.2 TTCN-3 compiler and symbolic execution method of design and implementation 18 1.2.3 TTCN-3 actuator design and implementation of the framework 18 1.2.4 Web test protocol testing in the typical application 18-19 1.3 related work 19 1.4 research contributions 19-20 1.5 paper structure 20 1.6 Terms and Abbreviations 20-24 Chapter 2 based on TTCN-3 test modeling 24-40 2.1 Testing common feature of 24-25 2.2 TTCN-3 test model and the relationship 25-27 2.2.1 Test Configuration 25 2.2.2 Test cases 25 2.2.3 test execution and results of 25-26 2.2.4 Test Data 26 2.2.5 Test Specification 26-27 2.3 GUI testing modeling 27-36 2.3.1 GUI test model defines 29-32 2.3.2 TTCN-3 defines GUI test 32-36 2.3.3 Test Execution 36 2.4 theories 36-39 2.4.1 Finite State Machine 36-38 2.4.2 Model -driven testing 38-39 2.5 Chapter Summary 39-40 Chapter 3 TTCN-3 compiler and symbolic execution method of design and implementation 40-68 3.1 Symbolic execution Description 40-41 3.2 TTCN-3 parse 41-42 3.3 TTCN-3 semantic representation 42-46 3.3.1 Common elements 43 3.3.2 symbol table 43-45 3.3.3 Data Types 45 3.3.4 Statement 45 3.3.5 expressions and statements 45-46 3.4 TTCN-3 analysis techniques 46-57 3.4.1 Symbolic execution example 46-49 3.4.2 definition of the concept 49 3.4.3 symbolic execution framework 49-51 3.4.4 structure 51-53 3.4.5 function call 53-54 3.4.6 Timer 54-56 3.4.7 Constraint Solving 56-57 3.5 Analysis examples 57-67 3.5.1 Formal verification and testing 57-65 3.5.2 Test Script correctness analysis 65-67 3.6 Summary 67-68 Chapter 4 TTCN-3 actuator design and implementation of the framework 68-92 4.1 Theoretical background 68-70 4.1.1 interpreter 69-70 4.1.2 abstract syntax tree interpreter 70 4.2 implementation framework 70-79 4.2.1 Actuators Process 71-72 4.2.2 actuators to achieve difficult 72-74 4.2.3 CCE method 74-75 4.2.4 VMP method 75-77 4.2.5 integrated implementation framework 77-79 4.3 executive performance evaluation 79-91 4.3.1 benchmark 79-87 4.3.2 Test Results 87-91 4.4 Summary 91-92 Chapter 5 Web test protocol testing in the typical application 92-108 5.1 Web test 92-100 5.1.1 Background 92-93 5.1.2 Analysis and Modeling 93-94 5.1.3 Test Execution 94-98 5.1.4 related tools 98-100 5.2 protocol conformance test 100-101 5.3 NFC system test 101-107 5.3.1 Analysis and Modeling 103-105 5.3.2 Test Execution 105-106 5.3.3 Test Results 106-107 5.4 Summary 107-108 Chapter 6 Conclusion 108-109 6.1 The main work 108 6.2 contribution of this paper 108 6.3 Future work 108-109 References 109-116 Thanks 116-117 papers published during the reading and research achievements 117-118 participate in research projects during the reading 118

Related dissertations

  1. Design and Implementation for TCI-CH of TTCN-3 Test System
    CaiHuiMin ·Inner Mongolia University ·2005 ·Master's thesis
  2. Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
  3. The Test Research of the Province College Entrance Examination Athematics (Science)
    LiangSha ·Hunan Normal University ·2014 ·Master's thesis
  4. The Experimental Study of Corn Straw Particles's Pneumatic Drying and the Simulation of Heat Transfer Process
  5. Optimization Design of Dynamic System of Small Electric Driver-training Cars Based on Ground
    ChengZhenKun ·Chang'an University ·2013 ·Master's thesis
  6. Study on Automotive Alternator Noise Testing and Noise Reduction Method
    WangChaoJian ·Liaoning University of Technology ·2014 ·Master's thesis
  7. Research of Analysis Method in RBC Based on Model Checking
    SongHaiFeng ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. Study on Damping Groove Characteristics and Optimization of Axial Piston Pump
    WangYiXiang ·Zhejiang University ·2014 ·Master's thesis
  9. Research and Implementation of Vulnerability Detection System Based on Symbolic Execution
    JiangShuGuang ·Hunan University ·2012 ·Master's thesis
  10. Research on Key Technologies of Malicious Code Binary Program Behavior Analysis
  11. TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
  12. Research on Conformance Testting of LDP Protocol Based on E-Lotos
    GuoXiaoQing ·Inner Mongolia University ·2012 ·Master's thesis
  13. Design and Implementation for Consistency Test Tool of DSRC Standard Based on ETC
  14. The Research and Implementation of Realtime Testing in TTCN-3System
    RenXiaoZuo ·Inner Mongolia University ·2012 ·Master's thesis
  15. Research on Testing Technology of Binary Program Based on Coverage of Critical Path
  16. Research and Implementation for Method of Component Regression Testing
  17. Reconstruction of the Tool of TTCN-3Test Suite Automatic Generation Based on GFT
  18. Design and Implementation of TTCN-3Adapter Library Management System
    ZhangBao ·North China University of Technology ·2013 ·Master's thesis
  19. Design and Codec Sotfware Implementaiton of Testing System for High Performance Network over Coax
  20. The Research on TTCN-3CoDec Automatically Generator
    LuoZhen ·Hunan University ·2012 ·Master's thesis