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
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
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
- Research of Short Selling Trading Strategies Based on Copula Theory
- Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
- Study on Partner Selection and Coordination Problem in Green Supply Chain Network
- Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
- Study on Measurement of Aviation High-tech Enterprises Versatile Personnel Competency Position Fit
- A Study on China’s Commercial Bank Assets Allocation Based on the Stochastic Programming Model
- Design of Arbitrage Strategy Based on Stock Index Futures
- Research on Optimization for Reconfigurable Facilities Layout of Cellular Production
- A Study of Early Warning System of New Media Events Based on New Genetic Algorithm
- Bridge Health Monitoring System Based on Damage Analysis
- Research of Control System and Scheduling Algorithm of Intensive Automatic Shelves
- Research on Industrial Time Delay Object Based on Model Prediction Control
- Study on Nonlinear Dynamic Modeling Measurement and Control Problems for Precision Pointing Mechanisms
- Research on Intelligent Air Combat Decision Making System Based on Conflict Analysis
- Design and Simulation of Fractional Order Controller
- Gait and Route Plan of Quadruped Robot
- A Structural Optimization of Spraying Robot Based on the Deformation Errors Control
- The Research Which Based on the Genetic Algorithm of EFPI Optical Fiber Sensing Technology