Research on Automatic Generation of Input Domain Test Data Based on Program Understanding

Author
HuangYuanDong
Advisor
ZhaoRuiLian
School
Beijing University of Chemical Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
76
Citations
0

Request the full text

Abstract

The expanding field of software applications as well as software size and complexity continues to increase , put forward higher requirements for software testing . The automation of software testing is an effective means to improve the efficiency of software testing . Automatic test data generation is the key to software test automation automatically determines the input field is an important prerequisite for automatic test data generation , the research program input domain automatically determine the method as well as the test data automatically generated , has important theoretical significance and broad application prospects. In this paper, based on the the dual constraint propagation program input fields automatically determine the methods and automatic test data generation methods , and on this basis , design and automatic test data generation system based on the input domain . Multiple sub- interval from the program code , a set of constraints generated by program comprehension , reuse dual constraint propagation method for solving the set of constraints , the program path input field , and proposes a method indicates that the program input domain , extended interval arithmetic on support multi - subinterval , laid the foundation for automatic test data generation method . Automatically generated major based input field test data including test strategy selection and test data generation two processes , domain and test data generation strategy program input command script command script command to drive test data input by automatically generation. The development of the design of this article is based on the test data program understanding automatically generate the system to automatically determine and test data input field is automatically generated as a key process , the experimental results show that , the system can automatically program input domain is determined and generated based on the test data input field , is indeed feasible .

Table of contents

Abstract 4-5 Abstract 5-12 The first chapter 12-16 1.1 research background, purpose and meaning 12-13 1.2 domestic and international research profile 13-14 1.3 The main research content 14 1.4 The paper is organized 14-16 Chapter topics related technologies 16-24 2.1 Reverse engineering and program understanding 16-17 2.2 program input domain method for determining 17-19 2.2.1 Procedure Specification-based input field to determine 18 2.2.2 program analysis based on input fields to determine 18-19 2.2.3 constraint propagation path based on the input field to determine 19 2.3 software testing 19-21 2.4 Test Automation 21-22 2.5 interval arithmetic 22-23 2.6 Chapter Summary 23-24 Chapter III program automatically determines the input field method 24-38 3.1 Path input field with the program input field 24-25 3.2 variable range interval representation and arithmetic 25-26 3.3 based on dual constraint propagation path of the program to determine the input field 26-36 3.3.1 program comprehension and constraint sets generated 27-28 3.3.2 dual constraint propagation 28-30 3.3.3 method 30-33 3.3.4 Case Study 33-36 3.4 Summary 36-38 Chapter input field test data generation method 38-46 4.1 automatically generates test data input field theory and strategy 38-40 4.2 automatic test data generation method in code coverage testing application 40 4.3 automatic test data generation method to achieve 40-43 4.4 Case Study 43-44 4.5 Chapter Summary 44-46 Chapter understanding based on the program automatically generates input field test system design and implementation 46-50 5.1 System Overview 46 5.2 Automatic Test System Design 46-47 5.3 Automatic Test System to achieve 47-49 5.4 Summary 49-50 Chapter VI Conclusion and Outlook 50-51 6.1 The main contribution of this paper 50 6.2 further work 50-51 References 51-54 Appendix A border strategy generated test data 54-58 published papers and participation in projects 58-59 Thanks 59-60 Author and Instructors 60-61 Annex 61-62

Related dissertations

  1. Research on SAT-based Test Generation Algorithm for Integrated Circuits
    LiLing ·Harbin Engineering University ·2012 ·Master's thesis
  2. Study on Current Based Testing Technology for Digital Integrated Circuits
    ZuoJiShun ·Hunan University ·2005 ·Doctoral dissertation
  3. The Research on Fault Model and Fault Collapsing of Digital Circuit
    LuChuanWu ·Hefei University of Technology ·2007 ·Master's thesis
  4. Research on DFT Methodology Based on STN LCD Driver and Controller
  5. Ant colony algorithm based test pattern generation of digital circuits
  6. Video signal processing chip timing control subsystem Research and Implementation
    LiBin ·Tianjin University ·2008 ·Master's thesis