Study on Test Case Optimization Techniques Based on Genetic Algorithms

Author
ChenWenPing
Advisor
ZhaoRuiLian
School
Beijing University of Chemical Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
237
Citations
8

Request the full text

Abstract

Once we find faults in software testing, corresponding repairs should be done immediately. Then using regression testing to make sure that old faults are mended and new faults do not brought in. Because of the increasing of size of software, if all test cases are executed, the cost of regression testing can be very high. To reduce cost and improve efficiency, test case optimizing techniques are presented, which goals are to use least test cases to satisfy the test aim. The ways to achieve test case optimize technique are test cases selection, test cases reduction and test cases prioritization. In a word, it’s significant to investigate the test case optimize technique.Genetic algorithm, which applies the crossover, mutation and recombine of genes to the problem resolution, is an optimizing approach, imitating the inheritance and evolution in biology. At present genetic algorithm has been brought into test case optimize technique gradually.Be dead against test case prioritization, this paper improve the old evaluation method. The improved evaluation method can make up defect of the old one which ignore one fault can be found by different test cases. On the base of improved evaluation method, a test case prioritization technique based on genetic algorithms be brought out, which can ordering test case according to the goal. The experimental results show that this approach is feasible and effective.

Table of contents

Abstract 4-6 ABSTRACT 6-15 first chapter 15-23 1.1 research background and significance 15-18 1.2 research status and development trends 18-20 1.2.1 test optimization techniques 18-20 1.2.2 GA Technical 20 1.3 The main work and organizational structure 20-21 1.3.1 The main work 20-21 1.3.2 The paper is organized 21 1.4 Chapter Summary 21-23 Chapter genetic algorithm technology 23-33 2.1 Genetic Algorithms Introduction 23-26 2.1.1 GA history 23-24 2.1.2 Application of genetic algorithms 24-26 2.2 Calculation of Genetic Algorithms process 26-30 2.2.1 Basic Concepts 26-27 2.2.2 calculations 27-30 2.3 genetic algorithm technology in the software Testing of 30 2.4 Summary 30-33 test case prioritization Chapter objective assessment method 33-41 3.1 Test use case prioritization problem 33-34 3.2 test case prioritization objective assessment method introduced 34-39 3.2.1 APFD evaluation methods 34-36 3.2.2 APBC, APSC and APDC evaluation methods 36-37 3.2.3 APFD_C evaluation methods 37-39 3.3 Chapter Summary 39-41 Chapter IV An improved test prioritization objective assessment method 41-49 4.1 test case prioritization objective assessment method of analysis 41-42 4.2 pairs APFD evaluation methods to improve 42-45 4.3 对 APBC (APDC, APSC) evaluation methods to improve 45-47 4.4 Summary 47 - Chapter 49 test cases based on genetic algorithm method of prioritizing 49-57 5.1 test case coverage 49 5.2 coding strategy 49-50 5.3 fitness function 50 5.4 genetic operator selection 50-53 5.4.1 Selection Operator 50 - 51 5.4.2 crossover 51-52 5.4.3 Mutation Operator 52-53 5.5 termination condition 53 <br / > 5.6 based on genetic algorithm test case prioritization method 53-55 5.7 Chapter Summary 55-57 Chapter VI experimental results 57-65 6.1 experimental purposes 57 6.2 experimental subjects 57-58 6.3 test sorting algorithms 58 6.4 experimental data analysis 58-64 6.4.1 Evaluation APFD and APOFD analysis 58-61 6.4.2 Analysis of different genetic algorithm parameters 61-64 6.4.2.1 Selection Strategy of 61 6.4.2.2 coverage of 61-64 6.5 Chapter Summary 64-65 seventh Chapter Summary 65-67 7.1 The main contribution of this paper 65 7.2 further work 65-67 References 67 - 71 Thanks 71-73 papers published during the study for a degree 73-75 Author and Instructors 75-76 Beijing University of Chemical Technology graduate dissertation committee resolution book 76-77

Related dissertations

  1. Research and Application of Test Case Prioritization Based on Regression Testing
    ZhongXiaoFang ·Ocean University of China ·2010 ·Master's thesis
  2. The Logistics Center Location Planning of Tralin Group Straw Supply
    ZhouXuan ·Nanjing Agricultural College ·2013 ·Master's thesis
  3. Research on Elevator Group Control System Scheduling Policy and Simulation Design
  4. Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control
    HuangXiaoZhou ·Northeast Forestry University ·2013 ·Master's thesis
  5. Study on Modeling and Optimizing of Supply Chain Multi-time Periods Integrated Plan Under Uncertain Environment
    ZhuYanBo ·Northeastern University ·2013 ·Master's thesis
  6. Research and Application on the Hybrid Colony Algorithm
  7. The Research and Application of Shuffled Frog Leaping Algorithm Based on Average Value
    SongLei ·Gansu Agricultural University ·2013 ·Master's thesis
  8. Research on Production Scheduling Problem Based on Order Disturbance
  9. Decision and Analysis of Metallurgical Products Price Based on Artificial Neural Networks
  10. Modified Shuffled Frog Leaping Algorithms and the Application of Multi-objectives Optimization
    WangZuoRan ·Gansu Agricultural University ·2013 ·Master's thesis
  11. Research on Closed-loop Logistics Network Design Based on Low Carbon Economy
    ZhangPeng ·Yanshan University ·2013 ·Master's thesis
  12. Friction Compensation and Adaptive Control for the Linear Single Inverted Pendulum
  13. Design of H2/H∞Robust Control Based on Multi-objective Genetic Algorithms
    WangZuo ·Northeastern University ·2013 ·Master's thesis
  14. T-S Fuzzy Modeling and Control for Nonlinear Network Control Systems
  15. Research on Recommender System Applied in Open Network Learning Environment
    FangFei ·Anhui University ·2014 ·Master's thesis
  16. Simulation and Optimization of Crankshaft Production Line Based on Discrete System Simulation
    ZhangMin ·Hunan University ·2013 ·Master's thesis
  17. Research on Database Schema Matching Based on Instances Clustering
    ZhangZuoXin ·Harbin Engineering University ·2013 ·Master's thesis
  18. Liaocheng Mobile Corporation material management system optimization analysis
    LiXianHui ·Shandong Normal University ·2013 ·Master's thesis
  19. Research on the Spectrum-based Fault Localization for Software Systems
    GongLiang ·Tsinghua University ·2013 ·Master's thesis
  20. Research and Implementation of Agent-based Intelligent E-commerce System
    LiuJingLing ·Northeastern University ·2013 ·Master's thesis