Automatic Generation of Test Data Based on Heuristic Search Algorithm

Author
LiuJia
Advisor
TaoWenYuan
School
Tianjin University
Major
Computer Science and Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2012
Downloads
2
Citations
0

Request the full text

Abstract

In recent years, as the complexity of the software gradually increased and thescale became huge, software testing is more and more important. The limitation ofmanual testing is broken by automation software test technology, so it enhances theefficiency of generating test data. This paper discusses about heuristic algorithm forautomatic generation of software test data, and takes the triangle problem as anexample to verify that heuristic algorithm has a higher efficiency in the automatic testdata generation.First, this paper introduces automatic testing technology and focuses on automatictest data generation-path oriented. Then, it elaborates heuristic algorithms in detail.Heuristic algorithms, including genetic algorithms, simulated annealing algorithm, antcolony algorithm and Tabu search algorithm is a set of proposed rules guiding thesearch direction. This paper focuses on genetic and simulated annealing algorithm.Genetic algorithms abstracted away from the biological evolutionary process, basedon the sense of probability, random iterative evolution. The genetic algorithm is aglobal optimization search mode, with a wide range of practical. However, the geneticalgorithm has its own shortcomings, such as lack of local search ability, slowconvergence and stability is also poor. Simulated annealing algorithm is an extensionof the local search. In view of the detection of genetic algorithm, this paper combinessimulated annealing algorithm with genetic algorithm to avoid the prematurephenomenon.Subsequently, this paper makes detailed analysis about how to use geneticannealing algorithm for automatic test, found the application model, and build a testenvironment. And then encode the chromosome, improve the fitness functionstructure. Then it proposes cartridge-based method on data generation automaticallyabout path test. Finally, take a typical example to achieve the model, and the resultswere analyzed to verify the superiority of the genetic annealing algorithm on thegeneration of test data automatically.

Table of contents

Abstract 3-4 ABSTRACT 4-7 Chapter 1 Introduction 7-10 1.1 Background 7 <br / > 1.2 Research objectives and content 7-8 1.3 dissertation structure 8-10 Chapter II software test automation 10-20 2.1 software testing basic method 10-14 2.1.1 software testing 10-12 2.1.2 software testing classification and stage 12-14 <br / > the basic structure 2.2 software test automation 14-15 2.3 software test automation principles and methods 15-17 2.4 automatically generates test data technology 17 -20 2.4.1 automatic test data generation techniques 17-18 2.4.2 for test data path automatically generate technical 18-20 Chapter III heuristic algorithm 20-34 3.1 Overview of heuristic algorithms 20-21 3.2 genetic algorithm 21-27 3.2.1 GA the basic concept five elements 21-22 3.2.2 GA basic steps 22-25 3.2.3 genetic algorithm design 25-26 problem and improved 3.2.4 GA 26-27 3.3 simulated annealing algorithm 27-29 3.3.1 Overview of simulated annealing algorithm 27 -28 3.3.2 Metropolis criterion 28 3.3.3 simulated annealing algorithm basic flow 28-29 3.4 hybrid genetic algorithm and its improved 29-32 3.4.1 hybrid genetic algorithm and simulated annealing 29-30 3.4.2 improved hybrid algorithm 30-32 3.5 other heuristics 32-34 3.5.1 ant colony algorithm 32 3.5.2 tabu algorithm 32-34 chapter based on heuristic search automatic generation of test data 34-40 4.1 heuristic search -based test data automatically generated 34 4.2 genetic Algorithms for automatic test data generation model 34-36 4.3 genetic annealing algorithm for automatic test data generation system framework 36-37 4.4 parametric coding principle 37-38 4.5 fitness function the construction 38-40 Chapter algorithms and experimental results 40-51 5.1 genetic annealing model implementation 40-47 5.1 .1 overall design 40-41 5.1.2 GASA data generation model 41-43 5.1.3 Case Study 43-47 <br / > 5.2 experimental results 47-51 Chapter summary and Outlook 51-52 references 52-54 published papers and participate research note 54-55 Thanks 55

Related dissertations

  1. The Study of Flight Sequencing Solutions at Terminal Based on Simulated Annealing Geneticalgorithm
    LiQiuYing ·Hebei University of Technology ·2013 ·Master's thesis
  2. Factory Production Management System Based on Genetic Algorithm Design and Achievement
    ZhangYu ·Harbin Engineering University ·2013 ·Master's thesis
  3. The Research of the Credit Rating of Corporate Environmental Behavior Based on BP Neural Network
    ZhuXiaoYan ·Central South University ·2013 ·Master's thesis
  4. Research on Integrated Optimization Model and Algorithm for Inventory Routing Problem Taking Reverse Logistics into Consideration
    HuangZhenXing ·Central China Normal University ·2014 ·Master's thesis
  5. The Resource Scheduling Research of Grid Communiction Network
  6. Improved Quantum Genetic Algorithm and Its Application in Image Matching
    SunHaiChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. And the realization of software testing reuse management subsystem design
  8. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  9. Research on software testing technology based on complex network theory
  10. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  11. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  12. Research of Software Testing Method Based on Cloud Computing
  13. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  14. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  15. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  16. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  17. The Design and Implementation of Banking Software Testing Based on Bugfree
  18. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  19. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  20. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B