Research on Automatic Test Case Generation Based on Dynamic Program Slicing Technology

Author
LiuLei
Advisor
LiLongZuo
School
Anhui University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
84
Citations
2

Request the full text

Abstract

With the demand for software and the increasing size of software quality is becoming increasingly important . Software testing is the most important software quality solutions , test case generation is the most important aspects of software testing . Test case generation efficiency and will directly affect the software test results , the automation of test cases to generate a more detailed study , has a very important significance . Program slicing is a program decomposition techniques, into slices, and slices through decomposition program related studies so as to achieve the understanding of the whole program . Program slicing in software testing , debugging , maintenance and coding has an extremely wide range of uses . Dynamic slicing is a program slicing , this paper proposed an improved algorithm , through the control on the program 's actual execution path dependent and data dependent nodes , and can be reached on the basis of the existing theory of dynamic slicing algorithm statement given slice criteria dynamic slice is obtained , and by a specific instance of the algorithm for authentication , the experiments show that the resulting slices is effective . Subsequently, this dynamic slicing algorithm is applied to the automatic generation of test cases . The specific method is given the initial input and specify the path , first find the longest common prefix node given the actual implementation of the initial input path specified path , and then calculate the dynamic slice of the node , and run by constantly adjusting the input slice predicate function , making the program the nodes negated last until running path with the given path completely equal , you specify the path of the test case is generated . Finally, be demonstrated by actual test cases developed automated tools instance , the experiment showed that the automatic generation of test cases based on dynamic slicing technology is effective .

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-14 1.1 software error 8-9 1.2 software testing necessity 9 1.3 software testing principles 9-10 1.4 software testing methods and process 10-11 1.5 test cases in software testing role 11-13 1.5.1 test case concept 11-12 1.5.2 test case the need 12-13 1.6 papers organizational structure 13-14 second chapter test cases automatically generated 14-21 2.1 randomly test cases automatically generated 14-15 2.2 based functional test cases automatically generate 15 2.3 automatically generate test cases based on non-functional 15-19 2.3.1 static method 16-17 2.3.2 dynamic method 17-19 2.4 This chapter Summary 19-21 The dynamic slicing method automatically generates test cases 21-46 3.1 program slicing Technical Overview 21-25 3.1.1 program slicing concept and development stage 21-23 3.1.2 program slicing types 23-24 3.1.3 program slicing technology applications 24-25 3.2 dynamic program slicing method 25-36 3.2.1 Dynamic slicing method, background and existing algorithm 25-27 3.2.2 related terms and definitions 27-29 3.2.3 dynamic slicing algorithm to generate program slices 29-30 3.2.4 Case Study 30-35 3.2.5 Algorithm Evaluation 35-36 3.3 the generate test cases based on dynamic program slicing law 36-44 3.3.1 related definitions 37-38 The steps 3.3.2 to generate test cases and algorithms described 38-40 3.3.3 instance analysis 40-44 3.4 Dynamic slicing algorithm to generate test cases compared with other methods 44 3.5 This chapter Summary 44-46 Chapter automatic test case generation tool based on dynamic slicing design and realization 46-54 4.1 tools system composition structure 46-48 4.2 tools are designed to achieve 48-53 4.2.1 static analysis module 48-50 the initialization module 4.2.2 50-51 4.2.3 Dynamic Slicing generation module 51-52 4.2.4 results contrast module 52-53 4.3 This chapter Summary 53-54 Chapter test tool prototype experimental analysis 54-60 5.1 tools run the demo 54-58 5.2 Case Study 58-59 5.3 This chapter Summary 59-60 Chapter VI Conclusion 60-62 6.1 In this paper, the main work done 60-61 6.2 further research 61-62 the References 62-66 Acknowledgements 66-67 during the degree to participate in the research work and published papers 67-68

Related dissertations

  1. Denotational Semantics and Program Analysis for ATLAS
    GuoDeGui ·Jilin University ·2007 ·Doctoral dissertation
  2. Model Based Testing Automation Framework of Data Pocessing System
  3. Model-based GUI Test Case Generation
    ZhuangXueWei ·Nanjing University ·2012 ·Master's thesis
  4. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  5. Research on Automatic of Software Testing Based on Models
    XiaoChunYan ·Jiangnan University ·2012 ·Master's thesis
  6. Automated EFSM-based Test Case Generation with Scatter Search
    ZhangJie ·Nanjing University ·2012 ·Master's thesis
  7. Pruning Dynamic Slices with Probabilistic Inference
    XiaJiaBin ·Shanghai Jiaotong University ·2013 ·Master's thesis
  8. Pointer Analysis Based Lock Set Analysis Tool
    ZhangDi ·Shanghai Jiaotong University ·2013 ·Master's thesis
  9. Continuous Online Program Slicing
    LuLongWen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  10. Research and implementation of automatic generation method for test case two and based on the contract
  11. The Research on Agent-based Testing Framework and Testing Approach for Web Applications
    SunZuoZuo ·Hunan University ·2011 ·Master's thesis
  12. Study on Automatic Software Functional Test Case Generation and Optimization
    HuangYing ·South China University of Technology ·2012 ·Master's thesis
  13. Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
    ZhangCheng ·Shanghai Jiaotong University ·2013 ·Doctoral dissertation
  14. Research on Theory and Application of Program Slicing
    WangZhiXue ·Jilin University ·2012 ·Doctoral dissertation
  15. Research on Symbolic Analysis Based Static Defect Detection Technique
  16. Research on Vulnerability Detection Based on String Analysis
  17. Research on Dependence Analysis and Software Testing
    ZuoLi ·Hunan University ·2006 ·Doctoral dissertation
  18. Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test
    LiBiXin ·Nanjing University ·2000 ·Doctoral dissertation
  19. Research on Techniques of VLSI RT-Level Automatic Functional Vectors Generation
  20. Automatic path-oriented test data generation method