The Research of Test-Suite Reduction Technology Based on Ant Colony Algorithm

Author
HuaLi
Advisor
DingXiaoMing
School
Southwestern University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2009
Downloads
122
Citations
2

Request the full text

Abstract

Software testing is a very important part of the software development process. As software increasingly large scale, time spent on software testing, human and material resources more and more. The number of test suite and run cost of each test case determines the cost and efficiency of software testing. How to use the software testing to ensure the quality and the premise of fully tested software key operational little cost and as few test cases to adequately test software, thereby reducing the cost of software testing and improve testing efficiency is the focus of this study . There are two ways to solve the problem of test suite reduction (Test Suite Reduction): The first test case selection; another test suite reduction techniques. Test case selection is concentrated from the original use case to select a subset of a test case, to be able to cover all modifications, but generally can not provide the original test suite test coverage. This article focuses on the second approach: use case in the original concentration, to find an approximate minimal test case to run a consideration subset, and be able to provide the original test suite test coverage. In order to minimize the cost of software testing, we are doing the test suite reduction, the goal is not only to reduce the number of use cases, test cases run consideration must also be considered, and the running cost of each test case not equal . In order to solve this problem have been proposed many methods: greedy algorithm, HGS algorithm, GRE algorithm. But these methods are relatively there are some shortcomings, such as the greedy algorithm and HGS algorithm for solving the low accuracy of results, GRE algorithm solving slow. Based on the analysis, summarize based algorithm based on the test set of requirements, Approximate minimum running cost, one can get the test suite reduction algorithm. The algorithm introduced on the basis of the basic ant algorithm (Ant Colony Algorithm) genetic algorithm variation factor (referred to as the TSR-ACA algorithms), ants search the randomness, the rapid and global convergence to avoid the defects of precocity and stagnation . The algorithm is fast and simple, is a kind of an algorithm to find a balance point between solution speed and accuracy. Finally, for the problem of the value of the parameter values ??of the test suite reduction problem ant colony algorithm simulation calculation, and several other classic algorithms. The experimental results show that this paper, ant colony hybrid algorithm can quickly get the approximate minimum consideration set of test cases run, can effectively reduce the cost of software testing.

Table of contents

Abstract 5-6 ABSTRACT 6-8 The first chapter 8-13 1.1 research background and significance 8-9 1.2 research status 9-11 1.3 The main contents 11 1.4 main innovation 11-12 1.5 paper structure 12-13 Chapter ant colony algorithm 13-26 2.1 ideological origins of the ant colony algorithm 13-14 2.2 The basic principles of ant colony algorithm 14-16 2.3 specific description of ant colony algorithm and improved 16-23 2.3.1 ant colony algorithm framework 17-18 2.3.2 Program Structure ant colony algorithm processes 18-19 2.3.3 ant colony algorithm mathematical model 19-21 2.3.4 ant colony algorithm parameters 21-22 2.3.5 ant colony algorithm 22-23 2.4 ant colony algorithm simulation 23 2.5 Significance of ant colony algorithm and its application 23-25 2.5.1 Ant Colony significance 23-24 2.5.2 of ant colony algorithm 24-25 2.6 Chapter Summary 25-26 Chapter III test suite reduction techniques 26-35 3.1 Introduction 26-27 3.2 Definitions and terminology 27-28 3.3 Analysis of existing methods 28-32 3.3.1 greedy algorithm 28-29 3.3.2 HGS algorithm 29 3.3.3 GRE algorithm 29-31 3.3.4 integer programming algorithm 31-32 3.4 Performance Analysis and Case Study 32-34 3.5 Summary 34-35 Chapter ant colony algorithm in test suite reduction problems in the application 35-43 4.1 Introduction 35 4.2 test suite reduction colony algorithm to solve the problem of model 35-38 4.2.1 Problem Definition 35-36 4.2.2 solution construction process 36-37 4.2.3 ant colony algorithm variability factor introduced 37 4.2.4 pheromone update mode 37-38 4.3 TSR-ACA algorithm parameter values ??in the main discussion 38-41 4.4 TSR-ACA algorithm description 41 4.5 Chapter Summary 41-43 CHAPTER algorithm simulation and performance analysis 43-48 5.1 Simulation 43-45 5.2 experimental results 45-48 Chapter Summary and Outlook 48-50 6.1 paper summarizes 48 6.2 Future Work Prospects 48-50 References 50-54 Thanks 54-55 list of published papers and participation in issues 55

Related dissertations

  1. The Research of Test-suite Reduction Technology Based on Improved Ant Colony Algorithm
    ZhangRui ·South China University of Technology ·2012 ·Master's thesis
  2. Research on Automatic Generation of Test Case Based on Model
    ZhangMiao ·Jilin University ·2013 ·Master's thesis
  3. Research on Test Suite Reduction and Construction
    PanLiLi ·Hunan University ·2009 ·Doctoral dissertation
  4. Study on the Optimization of the Land Use Stucture in Daqing City
    XieLiQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research on Band Selection for Hyperspectral Imagery
    WeiFangJie ·Harbin Engineering University ·2013 ·Master's thesis
  6. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  7. Optimization Analysis of Compact Storage and Retrieval System Picking Path Based on Ant Colony Algorithm
  8. Study on fresh agricultural products supply chain negotiation system based on Multi-Agent
    AiDan ·Yunnan University of Finance ·2013 ·Master's thesis
  9. Research and Application on the Hybrid Colony Algorithm
  10. A Research on Ant Colony Algorithm for Path Planning Problem
    TangYu ·Harbin Engineering University ·2013 ·Master's thesis
  11. Research on improved ant colony algorithm and its application
    ChengFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  12. Research and Application of Customer Segmentation Based on Ant Colony Clustering Algorithm
  13. Application Research of Ant Colony Algorithm in Traveling Agent Problem
  14. Research on Autonomous Mobile Robot
  15. The Application of Ant Colony Algorithm in the Routing of Wireless Sensor Networks
    YuanXinLai ·Hunan University ·2012 ·Master's thesis
  16. Research on Path Planning of Aircraft and Its Application
  17. Robot Path Planning Based on Immune Ant Colony Algorithm
    YangHeJuan ·Shenyang University ·2013 ·Master's thesis
  18. Research on TSP problem based on ant colony algorithm
    SongZhiFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  19. Optimization of Emergency Logistics Distribution Path Based on IACA
    WuXiangRu ·Hebei University of Engineering ·2013 ·Master's thesis
  20. Study on Resources Scheduling Based on ACO Algorithm and PSO Algorithm in Cloud Computing
    WenXiaoTang ·Jiangxi Normal University ·2013 ·Master's thesis