Efficient Generation for Test Data and Test Methods of Software

Author
WangLiXin
Advisor
QinYuMing
School
Donghua University
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2011
Downloads
453
Citations
0

Request the full text

Abstract

Application scope and scale of the computer expanding software complexity is also rising higher and higher demands on software quality, high-quality software development is facing great challenges. One of the important means to improve the quality of software is a high-quality software testing. Software development technology in the new, compared with the development of software testing technology necessary relatively lagging behind, facing a lot of difficult issues. In software testing is a very important problem is how to generate high-quality test data. The high-quality set of test cases can be found in fewer test cases more errors and defects, and can save the cost of testing and improve test efficiency and quality. The face of many about the problem of the generation of test data and test methods, we selectively study of several major areas, including: (1) a combination of the generation of the test suite and streamlined; (2) the structure of the test, program testing; (3) Anti-model-based testing techniques. Combination of test case generation, has been a lot of research. R. Mandl in 1985 in order to test the Ada compiler, first proposed the concept of a combination of tests. Since then, the combination of tests to become a research focus of the D. Cohen, and many domestic and foreign scholars have proposed a variety of methods to generate a combined coverage test sets. Structural testing, select the path and generate test cases in accordance with the selected path is one of the two important aspects. 1982, Thomas McCabe software complexity metrics based on the theory, put forward the concept of basic path coverage testing; B. Beizer then proposed a variety of coverage criteria. Based on a given test path, you can use the static method, dynamic method and heuristics to generate path-oriented test cases. In any case, for the combination test, the tested software often input parameters and parameter values; often require coverage for structural testing, the number of test paths, so will lead to a huge test suite, to The test work difficult. However, the combination of test cases concentrated often there are redundant and ineffective use cases, thus affecting the efficiency and effectiveness of the test, how to streamline redundant and ineffective use cases? Structure test exists does not completely cover all paths, and then how to choose standards covered?, when the test software is only one total system architecture and overall demand, there is no other relevant details (such as source code, etc.), or in the actual system implementation process design models often need more times be modified when, and how should we test this system? these test problems, the main content and results of this study are as follows: (1) propose a method based on tree model and input parameters relations The streamlining of the combination test suite generation method. This method first solution space tree to represent the combination of test cases of the multi-input parameter, and given the understanding of the space between the tree and the input parameters of the relationship; then analyzes the dependency between the input parameters, summarizes the dependency of the few species classification, description of how to use dependencies to tailoring the solution space tree redundancy invalid foliage; Finally, generate the solution space tree cutting redundant invalid combination of foliage and generate test cases set algorithm. The experiments show that the method in a certain range, having a better performance and the actual application. (2) discuss the use of the input relations streamline pairwise combinations of use cases set. Systematic analysis of use cases to improve the efficiency of the generated set of use cases, test cases in order to eliminate combination concentrate invalid pairwise combinations of test cases concentrated invalid use cases exist to study the relationship between pairs of input set to obtain pairwise combinations of test cases the set compacting method and gives a specific algorithm to determine whether the use cases as invalid use cases. (3) proposed several use of the LP method to solve the small combination test suite. LP optimization model of the combination test first established, its main goal is to improve access to the the LP solving efficiency in the use case set; then gives defuse large LP for the the small LP solving test set, 0/1 integer LP to solve the non-minimum test set non-0/1 Integer Solver test set three use cases set directly; Finally, and use of the three streamline the input-output relationship rules to streamline the LP solving the use case set the number of constraints and variables. Experimental analysis in the time-consuming with cases set size and availability compared to the three aspects of these methods and come to seek alternative set of use cases interrupt 0/1-ILP program is feasible and comprehensive performance good conclusion. (4) The proposed split testing method based on the cyclomatic complexity of large programs. Difficult test program cyclomatic complexity analysis, given the variables that affect the degree of segmentation based on the Program and the cyclomatic complexity of the algorithm, and discuss the methods and principles of the program division, and also discuss the split of several test data generation algorithm performance as well as split coverage of the impact of the program elements. Segmentation procedures can reduce the cyclomatic complexity of each program fragment, thereby reducing the difficulty of the test, from each fragment, the split will make the test efficiency improve. (5) Anti-model-based testing is a testing technique in the case of system information without source code or fewer, it and the corresponding model-based testing techniques. Component-based test for the specific object of the narrative proposed framework and the process of component-based system testing and test data into test cases run the I / O information between the test case runtime components formal description of the dynamic behavior of interactive information and system run-time dynamic behavior of the three types of interactive information discussed AspectJ aspect-oriented programming methods and JVMTI interface, dynamic data acquisition technology, dynamic data explore the specific algorithm to obtain the dynamic behavior of the model and preliminary portion of the test framework. Some useful research and exploration on several key issues in the software testing gives some analysis theory, put forward some new solutions, experimental results validate methods to some extent better to solve the problem, and our research work has a certain theoretical and practical value for test data generation, and the Anti-model test method.

Table of contents

Summary 5-8 ABSTRACT 8-15 first chapter 15-21 1.1 thesis research background and significance 15 -18 1.1.1 The importance of software testing 15 1.1.2 test data generation and test methods are facing difficulties and challenges of 15-18 1.2 research content 18-19 1.3 thesis results 19-20 the 1.4 paper chapters arrangements 20-21 Chapter II software testing Technical Summary 21-45 2.1 software testing basic concept 21-31 2.1.1 software testing, meaning 21-23 2.1. software testing technology classification 23-25 ?? 2.1.3 software testing full 25-28 2.1.4 software testing process 28-29 < br /> 2.1.5 software error, failure, defect, failure and accident the 29-31 test technology Research 2.2 This article 31-43 2.2.1 coverage test technology 31-33 2.2.2 path coverage testing technology 33-41 2.2.3 Anti-model test technology 41-43 2.3 Summary 43-45 Chapter test set based on a combination of input relations automatically generate and streamline 45-67 3.1 Introduction 45-46 < br /> 3.2 combined test related concepts 46-47 3.3 dependencies between the input parameters 47-51 3.4 tree model based on the combination of black-box testing with the cases set streamline 51-53 3.4.1 Solving the full combination of black-box testing use cases set solution space tree model 51-52 3.4.2 dependencies cut solution space tree 52-53 3.5 tree model algorithm solving the full combination of black-box testing use cases set 53-58 3.5.1 based on the solution space tree full portfolio black box test case generation process 53-54 3.5.2 traversal, backtracking algorithm of the solution space tree and Improving Efficiency Strategy 54-56 3.5.3 backtracking algorithm and its complexity analysis 56-58 3.6 using the input relations streamline pairwise combinations of use cases set 58-62 3.6.1 pairwise combinations of test cases focused invalid use case analysis 58-59 pairs of input 3.6.2 relational form the set 59-60 3.6.3 pairwise combinations of test cases streamline 60-62 <, br / > 3.7 dependency obtain 62-63 3.8 experiments and examples of analysis the 63-66 3.8.1 Case Study 63-65 3.8 .2 experimental data analysis 65-66 3.9 Summary 66-67 Chapter based on the LP a combination of the generation of the test suite and streamline 67-79 4.1 Introduction 67-68 4.2 LP optimization model of the combined test 68-69 4.3 LP generated combination test cases set 69-72 < br /> 4.3.1 through defuse the big LP small LP solving test set 69-71 4.3.2 with 0/1 integer LP to solve the non-minimum test set 71 < br /> 4.3.3 with non-0/1 integer planning to solve the test set 71-72 4.4 the relationship between the input / output variables and LP streamline the combined test set 72-74 < br /> 4.5 Experimental and analytical 74-77 4.6 Summary 77-79 split testing method Chapter structured test cyclomatic complexity procedures 79-97 5.1 Introduction 79-80 5.2 path testing the concept 80-82 5.2.1 program constitutes 80-81 < br /> 5.2.2 basic structure of the program flow diagram the 81-82 of 5.3 large complex program segmentation the 82-90 5.3.1 about the concept of the basic path 83-84 the 5.3.2 program segmentation feasibility 84-85 5.3.3 program segmentation approach and principles split 85-90 5.4 Several test data generation algorithm and coverage to 5.4.1 several paths 90-94 coverage test data generation methods 90 5.4.2 program split the algorithm impact analysis and performance comparison the 90-93 5.4.3 split coverage of the program elements affect 93-94 5.5 test experiments and analysis 94 -96 5.6 Summary 96-97 Chapter ANTI-MODEL test technology research 97-117 6.1 Introduction 97-98 6.2 software system based on component model 98-100 6.2.1 Classification of component-based software 98-99 6.2.2 component-based systems model and test granularity 99-100 6.3 testing framework based on components and process the 100-102 6.3.1 Reliability evaluation methods 100 6.3.2 component-based system testing framework the 100-101 6.3.3 component-based system testing process 101-102 6.4 test data obtained nbsp 102-112 6.4.1 wrapper structural framework; 102-104 6.4.2 dynamic data access to technology 104-109 6.4.3 The formal description of the data the 109-112 6.5 system dynamic behavior model to obtain 112-115 6.5.1 execute test cases, the dynamic behavior of the model 112 -114 6.5.2 system the runtime dynamic behavior model 114-115 6.6 detection correction error correction model 115-116 6.7 Summary 116-117 Chapter VII Summary and Outlook 117-121 7.1 summarizes 117-118 7.2 Looking 118-121 Reference 121-131 Acknowledgements 131-133 Appendix A study for the doctorate during the published papers 133-135 Appendix B to study the doctorate during chaired participate in the project 135

Related dissertations

  1. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  2. Research on Combinatorial Test Generation with Parameter Constraints
    ZhangZuo ·Anhui University ·2012 ·Master's thesis
  3. Research on Software Test Module of Lead-free Solder Paste Printed Equipment
  4. Research on Test Case Generation Technology of Combinatorial Testing
    ZouMing ·Chongqing University ·2012 ·Master's thesis
  5. Research on Test Data Automatic Generation
    ShiLiang ·Southeast University ·2006 ·Doctoral dissertation
  6. Research on Key Technologies for Concurrent Programs Testing
    ZuoFang ·Huazhong University of Science and Technology ·2009 ·Doctoral dissertation
  7. Media Launches of Real Estate Advertising
    ZhangYi ·South China University of Technology ·2013 ·Master's thesis
  8. Study on the optimization of operation plan of ZL company based on linear programming
    YuanZhenQing ·Yangzhou University ·2012 ·Master's thesis
  9. The Research of Index Portfolio Based on Tracking Error
    SunJing ·Northeastern University ·2012 ·Master's thesis
  10. Random Task-oriented User Utility Optimization Model in the Cloud Environment
    ZhuMin ·Hunan University ·2013 ·Master's thesis
  11. And the realization of software testing reuse management subsystem design
  12. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  13. Research on software testing technology based on complex network theory
  14. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  15. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  16. Research of Software Testing Method Based on Cloud Computing
  17. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  18. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  19. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  20. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis