Research for Testing Data Automatic Generation Methods Based on Genetic Algorithms

Author
PengYePing
Advisor
ZengBi
School
Guangdong University of Technology
Major
Applied Computer Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
59
Citations
0

Request the full text

Abstract

Software testing is used to find software errors and defects, so as to achieve the goal of guarantee the quality of software. Software testing is an important link in the whole process of software development cycle. The appropriate test data generation is thekey in the process of software testing. Manual constructions of software test data are a tedious and blindly work. It often leads to the low test efficiency, extending the testing cycles; testing adequacy is difficult to secure. Automatic generation of test data can be effective to improve the process, reduce test cost, and improve test efficiency.Automatic generation of test data and testing adequacy is the two basic problems in automated testing. Path coverage is a strictly coverage standard, and if path tests is performed early in the software development, defects and errors can be find early in the software, thus path tests have higher practical value. Completely paths test in the actual software testing is not feasible, and the usual approach is to select a particular path or according to certain standard choose some target paths. Based on these this article has carried on the related research and the main work includes:1. The basic theory and methods of the software test and genetic algorithm (GA) has been analyzed and researched. This article introduced the outset on the relevant theories of software testing and the test data generation method, and then introduces the flowchart of genetic algorithm, the characteristic and its superiority, etc.2. The methods of test data automated generationbased on Genetic algorithm has been researched. In the existing test data generation method and genetic algorithm (GA) theory, this paper introduces the application of genetic algorithm to automatically generate test data model, and focuses on the realization of a parameter coding and genetic operation. Also, according to the specific test data generation problem, the proper selection of fitness function was designed and the genetic operators were improved.3. The improved genetic algorithm was adopted in the automatic test data generation model, such as static analysis, program instrumentation as an auxiliary, according to the selected target paths the test data of covering them is calculated. According to this model, the simulation experiment was carried on and the single path branch coverage and multipath branch coverage automated test datageneration was implemented, and the effectiveness of the model generation path coverage testing data was verified.4. Non-numeric test data-the characters and the class object test data generation base on genetic algorithmhave been researched.The numerical test data generation method has been studied.For the non-numeric test data, the characters and class object test data generation have been studied; And for the problem of the class objecttest data generation, a kind of new class object coding method was design, which can be applied to the genetic operation of class object, and the generalized hamming distancewas applied to the construction of fitness function about the class object.

Related dissertations

  1. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  2. Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
  3. Research of Short Selling Trading Strategies Based on Copula Theory
    LiGuangZuo ·Dongbei University of Finance ·2013 ·Master's thesis
  4. Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
  5. Study on Partner Selection and Coordination Problem in Green Supply Chain Network
    ChangTaiBao ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  6. Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
    ZhaoYing ·Northeastern University ·2012 ·Master's thesis
  7. Study on Measurement of Aviation High-tech Enterprises Versatile Personnel Competency Position Fit
  8. A Study on China’s Commercial Bank Assets Allocation Based on the Stochastic Programming Model
  9. Design of Arbitrage Strategy Based on Stock Index Futures
  10. Research on Optimization for Reconfigurable Facilities Layout of Cellular Production
  11. A Study of Early Warning System of New Media Events Based on New Genetic Algorithm
  12. Bridge Health Monitoring System Based on Damage Analysis
  13. Research of Control System and Scheduling Algorithm of Intensive Automatic Shelves
    ZengQingZhou ·Northeastern University ·2009 ·Master's thesis
  14. Research on Industrial Time Delay Object Based on Model Prediction Control
  15. Study on Nonlinear Dynamic Modeling Measurement and Control Problems for Precision Pointing Mechanisms
  16. Research on Intelligent Air Combat Decision Making System Based on Conflict Analysis
  17. Design and Simulation of Fractional Order Controller
    WangZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Gait and Route Plan of Quadruped Robot
  19. A Structural Optimization of Spraying Robot Based on the Deformation Errors Control
    LiBo ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  20. The Research Which Based on the Genetic Algorithm of EFPI Optical Fiber Sensing Technology