The Research and Application of Combinatorial Test Generation

Author
LiYu
Advisor
QianXueZhong
School
Jiangnan University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2012
Downloads
84
Citations
0

Request the full text

Abstract

At present society, computer technologies have been widely used in all industries. As the soul of computer, software affects various industries directly. Ensuring the quality of software and preventing the accident triggered by software faults are a very important work in the process of software development. Software testing is a main way to assure the quality of software. Software testing is a process for discovering the faults in the software. Designing and generating test cases is an important aspect of software testing. As the restrictions of time and cost, the key problem in software testing is how to generate a small test case set that can find most faults.Combinatorial testing is a common and relatively effective functional testing method. By studying the knowledge of combinatorial testing and doing the simulation experiments, deep understanding about combinatorial testing is generated. The main work of this paper is studying the generation methods of coverage of the paired combinations. By analyzing the current research, this paper set a new model of the generation of coverage of paired combination and put forward some improvements on the generation methods.The main contributions of this paper are listed as follows:(1) Using set theory, a mathematical model of the generation of coverage of the paired combination is build. The generation of coverage of the paired combination has close contact with set theory.(2) Aiming at generating minimum test cases, Heuristic Genetic Algorithm (HGA) based on the dynamic solution space is presented in this paper. According the changes of the solution space, heuristic operator is added to Genetic Algorithm, which makes the generation of the test case with the local optimal coverage in current environment more efficient.Different metamorphosis probability is applied in the Heuristic Genetic Algorithm, which can keep the diversity of the colony and can introduce many new gene combinations at same time.(3) By constructing the searching model of combinatorial space, a new test suite minimization method is presented which based on ant colony algorithm merging differential evolution with dynamic heuristic information (DEACA). The new method overcomes the premature convergence effectively.Through the experiment, it is verified that HAD and DEACA produce more optimal test suite than the original methods and has some merits compared with other methods.

Table of contents

Summary 3-4 Abstract 4-7 first chapter 7-13 1.1 research background and significance of 7-8 1.2 research status 8-9 1.3 dissertation research and innovation 9-10 1.4 papers organizational structure theories and techniques 10-13 Chapter II combination test 13-25 2.1 Introduction 13 2.2 software testing principles 13 - 14 2.3 software testing technology classification 14-17 2.3.1 static testing techniques 14-15 2.3.2 dynamic testing technology 15 - 17 2.4 test case design 17-18 2.5 parameter combinations coverage test 18-19 2.6 combination of test case generation technology 19-23 2.6.1 mathematical constructor 19 2.6.2 direct search methods 19-21 2.6.3 heuristic search method 21-23 2.7 Summary 23-25 ?? Chapter III combination test suite generation problem modeling and analysis 25-33 3.1 Introduction 25 3.2 set theory concepts conceptual 25-26 3.2.1 collection 25 3.2.2 Cartesian product 25-26 <br / > 3.2.3 relationships and operational 26 3.2.4 coverage and divided the collection 26 3.3 pairwise combinations of test case generation problem model 26 - 30 3.3.1 combination of test case generation problems related definitions 27-29 3.3.2 combination of test case generation problems related theorems 29-30 3.4 combination of test sets generated with NP -complete problems 30-31 3.4.1 NP -complete problem description 30-31 3.4.2 minimum test set generation portfolio NP problem complete method 31 3.5 solving NP-complete problems 31-32 3.6 Summary 32-33 Chapter heuristic Genetic Algorithm solving combinatorial test suite 33-45 4.1 Introduction 33 4.2 Overview of genetic algorithms 33-36 Features 4.2.1 GA 33 4.2.2 GA framework 33-34 4.2.3 genetic Algorithm process 34-36 4.3 based on dynamic solution space heuristic Genetic Algorithm 36-39 4.3.1 encoding 36 4.3.2 fitness function 36-37 4.3.3 select operator 37 4.3.4 crossover and mutation perturbed difference 37 4.3.5 inspired operator 37-38 4.3.6 algorithm processes described 38-39 4.4 HGA algorithm simulation and analysis 39-44 4.4.1 HGA parameter analysis of experimental 39-43 <br / > 4.4.2 HGA experimental results and analysis 43-44 4.5 Summary 44-45 Chapter solving combinatorial test suite differential evolutionary ant colony algorithm 45-55 5.1 Introduction 45 5.2 ant colony algorithm outlined 45-47 5.3 differential evolution ant colony algorithm for combinatorial test set 47-51 5.3.1 ant search space 47-48 5.3.2 ant colony algorithm heuristic information to improve 48-49 5.3. 3 ant colony algorithm mutation strategy 49-50 5.3.4 algorithm Description simulation and analysis 50-51 5.4 DEACA algorithm 51-54 5.4.1 DEACA parameter experimental analysis 51-53 5.4.2 DEACA experimental results and analysis 53-54 5.5 Summary 54-55 Chapter VI summary and Outlook 55-57 6.1 Full Summary 55 6.2 future work prospects 55-57 Thanks 57-59 References 59-63 Appendix: the authors of papers published during the master's degree 63

Related dissertations

  1. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  2. Based on Genetic and Ant Colony Algorithm for Path Coverage Test Data Generation
    YangNingNing ·Hebei University of Engineering ·2013 ·Master's thesis
  3. Research on Comparison and Integration of Rectangular Optimal Layout Algorithms under Constraint of Guillotine
    LiuZuo ·Hebei University of Technology ·2012 ·Master's thesis
  4. Single-depot Vehicle Routing Problem Based on Ant Colony Optimization
    WuZuo ·Dalian Maritime University ·2013 ·Master's thesis
  5. Research on Model and Algorithms of Highway Vehicle Ride Matching Problem
    MengChunHua ·Shandong Normal University ·2014 ·Master's thesis
  6. Research on Script-driven Based RBC Functional Testing Method
    TangHuiDong ·Beijing Jiaotong University ·2012 ·Master's thesis
  7. Research on Software Test Module of Lead-free Solder Paste Printed Equipment
  8. The Automatic Generation Technique of the Test Case Covering the Combinations of the Parameters
    XuJunYi ·Harbin Engineering University ·2010 ·Master's thesis
  9. Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
  10. Research of Short Selling Trading Strategies Based on Copula Theory
    LiGuangZuo ·Dongbei University of Finance ·2013 ·Master's thesis
  11. Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
  12. Study on Partner Selection and Coordination Problem in Green Supply Chain Network
    ChangTaiBao ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  13. Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
    ZhaoYing ·Northeastern University ·2012 ·Master's thesis
  14. Research on the Impact of Human Resource Management on Employees Performance
  15. Study on Measurement of Aviation High-tech Enterprises Versatile Personnel Competency Position Fit
  16. Study on the Optimization of the Land Use Stucture in Daqing City
    XieLiQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. A Study on China’s Commercial Bank Assets Allocation Based on the Stochastic Programming Model
  18. Design of Arbitrage Strategy Based on Stock Index Futures
  19. Research on Optimization for Reconfigurable Facilities Layout of Cellular Production
  20. Research on Band Selection for Hyperspectral Imagery
    WeiFangJie ·Harbin Engineering University ·2013 ·Master's thesis