The Automatic Test Data Generation Based Genetic Ant Colony Algorithm

Author
ShiXueFeng
Advisor
FuYingLiang
School
Dalian Maritime University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2008
Downloads
196
Citations
5

Request the full text

Abstract

With the continuous expansion of the scale of the development of software technology and software projects, software testing is an increasingly important role. In software testing and test data selection is a problem of structural testing, test data is appropriate or not directly related to whether the error is expected to be measured. Automated method of generating test data, although there are a number of methods have been proposed and used, but also because of its limitations, in practice there is no perfect solution, and can only judge by virtue of engineering experience. In this context, we use a genetic algorithm and ant colony algorithm for automatic test data generation method. This paper first introduces the basic theory of software testing and automated test data generation method. For software testing technology, introduces the concept of software testing, classification, then introduced several test data generation, and systematic comparisons that will accomplish a great deal of artificial intelligence technology in this field. Subsequently, this paper introduces the basic principles of genetic algorithm and ant colony algorithm, implementation steps, and their advantages and disadvantages. According to the characteristics of two complement each other so as to further proposed hybrid algorithm to improve the performance of the algorithm. Shortly thereafter, the authors suggest that the system automatically generate test data based on genetic ant colony algorithm framework structure, and focuses on the need to address some of the key technologies in the system implementation process: such as coding problem, the fitness function and genetic operators improvements. Solve these key technologies, the VC language programming to achieve the test cases automatically generated core algorithm: genetic ant colony algorithm, and using Java to develop a graphical user interface. The graphical user interface has invoked the language parser and ant colony algorithm together to complete the test data of the specified path is automatically generated. The last of an actual path, for example, elaborate on the use of software development tools generate the test data, and the use of the software tools for the path of success. The experimental results show that the more practical and effective software tool automatically generated test data to complete the specified path. Of course, there are still a poor real-time, the type of data that can handle small problems, pointed out the direction and focus of the next step of research in closing remarks to address these issues.

Table of contents

Abstract 5-6 Abstract 6-10 Chapter 1 Introduction 10-15 1.1 Background and Significance 10-11 1.2 Research 11-13 1.3 research 13 1.4 framework and structure of the paper 13-15 Chapter 2 software testing and test data automatically generated 15-25 2.1 software testing 15-17 2.1.1 software testing defined 15 2.1.2 software testing purposes 15 2.1.3 software testing principles 15-17 2.2 software testing technology classification 17-21 2.2.1 static test 18-19 2.2.2 Dynamic Testing 19-21 2.3 test data generation method 21-25 Chapter 3 ant colony algorithm 25-39 3.1 genetic algorithm 25-27 3.1.1 Genetic algorithm described 25-27 3.2 genetic algorithm elements 27-34 3.2.1 Genetic algorithm coding 27 3.2.2 population size setting 27-28 3.2.3 fitness function 28-30 3.2.4 genetic manipulation 30-33 3.2.5 Control parameters and termination conditions 33-34 3.3 ant colony algorithm 34-37 3.3.1 ant colony algorithm and 35 3.3.2 ant colony algorithm model 35-36 3.3.3 ant colony algorithm features 36-37 3.4 hybrid algorithm 37-39 Chapter 4 ant colony algorithm is applied to the test data automatically generated 39-53 4.1 system framework 39-41 4.2 parameter encoding 41-44 4.2.1 parameter selection 41-42 the the 4.2.2 parameter encoding principle 42 4.2.3 Multi-parameter encoding methods 42-43 4.2.4 different data types encoding 43-44 4.3 fitness function improvement 44-46 4.3.1 numeric data fitness function improved 44-45 4.3.2 non-numeric data fitness function improved 45-46 4.4 procedures the way improvements nbsp Cartridge; 46-48 4.5 GAAA algorithm design 48-53 4.5.1 GAAA flowchart 48-49 4.5.2 GAAA basic steps 49-53 Chapter 5 experimental 53-76 5.1 Tool Demo 53-58 5.2 effect analysis 58-74 5.3 experimental conclusions 74-76 Chapter 6 Conclusion and Outlook 76-78 6.1 conclusions 76 6.2 further outlook 76-78 the References 78-82 the pursue a degree during the public papers; nbsp 82-83 Acknowledgements 83-84 the Graduate biographical 84

Related dissertations

  1. Research and Application on the Hybrid Colony Algorithm
  2. Research on image edge detection method based on ant colony algorithm
    YinXiaoLi ·Yunnan University ·2012 ·Master's thesis
  3. Research on Testing Model and Automated Testing of Web Application
    ChenJiangYong ·Fujian Normal University ·2012 ·Master's thesis
  4. Test Case Generation Model Based on Bayesian Network and Genetic Algorithms
    LiXin ·Chongqing Jiaotong University ·2012 ·Master's thesis
  5. Research on Automatic Generation of Test Case Based on Model
    ZhangMiao ·Jilin University ·2013 ·Master's thesis
  6. The Research of Test-suite Reduction Technology Based on Improved Ant Colony Algorithm
    ZhangRui ·South China University of Technology ·2012 ·Master's thesis
  7. Research on Test Data Automatic Generation
    ShiLiang ·Southeast University ·2006 ·Doctoral dissertation
  8. Study on the Optimization of the Land Use Stucture in Daqing City
    XieLiQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. The Logistics Center Location Planning of Tralin Group Straw Supply
    ZhouXuan ·Nanjing Agricultural College ·2013 ·Master's thesis
  10. Research on Band Selection for Hyperspectral Imagery
    WeiFangJie ·Harbin Engineering University ·2013 ·Master's thesis
  11. Research on Elevator Group Control System Scheduling Policy and Simulation Design
  12. Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control
    HuangXiaoZhou ·Northeast Forestry University ·2013 ·Master's thesis
  13. Study on Modeling and Optimizing of Supply Chain Multi-time Periods Integrated Plan Under Uncertain Environment
    ZhuYanBo ·Northeastern University ·2013 ·Master's thesis
  14. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  15. Optimization Analysis of Compact Storage and Retrieval System Picking Path Based on Ant Colony Algorithm
  16. Study on fresh agricultural products supply chain negotiation system based on Multi-Agent
    AiDan ·Yunnan University of Finance ·2013 ·Master's thesis
  17. A Research on Ant Colony Algorithm for Path Planning Problem
    TangYu ·Harbin Engineering University ·2013 ·Master's thesis
  18. Research on improved ant colony algorithm and its application
    ChengFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  19. Research and Application of Customer Segmentation Based on Ant Colony Clustering Algorithm
  20. The Research and Application of Shuffled Frog Leaping Algorithm Based on Average Value
    SongLei ·Gansu Agricultural University ·2013 ·Master's thesis