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

Author
ZhangRui
Advisor
MeiDengHua
School
South China University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
106
Citations
2

Request the full text

Abstract

In recent years, with the constant expansion of the software, the growing complex ofsoftware development process, and due to the limit of people’s subjective understanding,makes inevitably introduce errors and vulnerabilities in the software development process.These software errors and vulnerabilities may cause the entire software system failure, andcause significant economic losses, if the software is running in some key areas, such asnuclear power, may endanger the security of human lift. So, as the important measure toassure the quality and reliability of software, software testing has become a very importantpart of the software development process. During software testing, the design of software testplan and test case is a crucial part. In software testing, we must pay much attention to thesetwo aspects of the design. With the expansion of software size, the software requirements aremore and more, the corresponding number of test cases will be more and more, whichcontains a large number of redundant test cases. The number of test cases and the running costof each test case determine the cost and efficiency of software testing. Therefore, how toensure that adequate testing and software quality under the premise, it would cost less and lesspossible test cases to fully test the software, thereby reducing the cost of software testing,improve the efficiency of software testing is the focus of this paper.This paper first introduces and analyzes the existing several test suite reduction algorithms,and point out their own shortcomings, then provide an algorithm of test suite reduction basedon the initial pheromone enhancements, and applied to the problem of test suite reduction.Test suite optimization method proposed in this paper take full account of the relationshipbetween the test cases, and test suite optimization from the perspective of the test suitereduction. First, using GRE algorithm ideological to select the essential test case and save itfrom original test cases, and remove redundant test cases at the same time, reduct the originaltest case collection by recycling essential strategy and redundancy strategy. After pretreatmentof the test suite-the test requirements set relationship matrix, using the greedy algorithm togenerate an a prior test case subset, and enhance the initial pheromone of all nodes in subset,run the ant colony algorithm based on demand the optimal solution. A prior collection ofnodes in the initial pheromone enhanced to help reduce the randomness of the ants search, make algorithm attenuation from a good basis; meanwhile, the algorithm iterations of theadaptive changes shorten the running time, compared to a fixed number of iterations. Thisimproved ant colony algorithm can find a balance between in the convergence speed andoptimal solution. Finally, this paper designs a comparison tool to compare the improved antcolony algorithm with several classic algorithms, and display the comparison results in avisual form. The experimental results show that the new algorithm in finding the minimumcost of test case and to accelerate the convergence of the process performance is superior toother algorithms.

Table of contents

Summary 5-6 Abstract 6-11 first chapter 11-17 1.1 research background and significance 11 -14 1.2 This article contents 14-15 1.3 papers organizational framework and innovation 15-16 1.4 Summary 16-17 the second chapter of software testing and test suite reduction techniques 17-35 2.1 software testing definitions 17-21 2.1.1 software testing 17 2.1.2 software testing purposes 17-19 principle 2.1.3 software testing 19-21 rule 2.1.4 software testing 21 2.2 test suite reduction techniques and rules 21-26 2.2.1 basic Concepts 22-25 2.2.2 test suite reduction rules 25-26 2.2.3 test suite minimization meaning 26 2.3 current research 26-28 2.4 typical reduction Algorithm and problem Analysis 28-33 2.4.1 greedy algorithm 28-29 2.4.2 GRE algorithm 29-30 <br / > 2.4.3 H algorithm 30-31 2.4.4 basic ant colony algorithm 31-32 2.4.5 integer programming algorithm 32-33 <br / > 2.4.6 test suite reduction algorithm based testing needs reduction 33 2.5 algorithm known defect analysis 33-34 2.6 Summary 34 -35 the third chapter analyzes the basic ant colony algorithm and 35-45 3.1 source and the basic principles of ant colony algorithm 35-36 3.2 ant Colony Algorithm system features 36-37 3.2.1 systemic 36 3.2.2 distributed 36 3.2.3 self-organizing 36-37 3.2.4 feedback mechanism mathematical model 37 3.3 basic ant colony algorithm 37-40 ant algorithm to achieve 3.4 40-41 3.5 improved ant colony algorithm 41-43 3.5.1 Elitist ant system 41 3.5.2 ant System 41-42 3.5.3 max - min ant system 42-43 3.6 application of ant colony algorithm 43 3.7 Summary 43-45 fourth chapter based on improved ant colony algorithm test suite reduction techniques 45-59 4.1 object model defined 46-47 4.2 improved ant swarm algorithm analysis on test suite reduction of 47-56 4.2.1 ideological improved ant colony algorithm test suite reduction of 47-48 4.2.2 algorithms implementation process described 48-52 4.2.3 initial path pheromone enhanced rules 52 4.2.4 pheromone update rule 52-53 4.2.5 the number of ants setting 53-54 4.2.6 stop iteration condition 54 4.2.7 parameter factor analysis 54-56 4.3 with Simulation 56-58 4.4 Summary 58-59 Chapter V test suite optimization assessment tools 59-70 5.1 system framework 59-60 5.2 tool Design module analyzes 60-66 5.2.1 data editing Module 60-62 5.2.2 test test requirements set relationship matrix generation module nbsp - use cases set ; 62-64 5.2.3 algorithm running and tracking module 64-65 5.2.4 comparative assessment of the results of the module 65-66 5.3 comparison of experimental results 66-69 5.4 summary 69-70 summary and Outlook 70-72 <br / > References 72-76 studying for a master's degree obtained during research 76-77 Thanks 77

Related dissertations

  1. Research on Automatic Generation of Test Case Based on Model
    ZhangMiao ·Jilin University ·2013 ·Master's thesis
  2. Research on Test Suite Reduction and Construction
    PanLiLi ·Hunan University ·2009 ·Doctoral dissertation
  3. English Title of Master Dissertation
    PanZuo ·Southeast University ·2006 ·Master's thesis
  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