Research and implementation of software automatic test data generation
- Author
- TianZuo
- Advisor
- QinZhiGuang
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 375
- Citations
- 1
Abstract
With the development of software engineering technology, and the increase of the scale of software design, software testing plays a very important role in the process of software exploitation and the automatization of software testing is the important direction of research and development of software testing.fundamental theories about the automatization of software testing are depicted in this paper.In addition,The new design method of test case is also provided, and How is the test case about the new method built automatically in this papaer.The aim of software testing is to find out the defect of the software, so different testing methods can be adopted to design test case so as to the test is successful. For example, white box testing (logic covering, path covering, etc) and black box testing (function test, regression test, and performance test, etc).The design of test case is related to the efficiency of testing directly. In this paper, the design method of test case for white box testing and black box testing will be introduced respectively: combination of condition covering test (white box), combination of input variant covering test (black box). Both of them can increase the testing efficiency to some extent.The automatizition of software test can increase the testing efficiency greatlier, and guarantee the quality of the software.it is one developing trend in software test. In this paper, relevant algorithm of the automatic producing test case will be discussed, furthermore, the Simulate annealing Genetic algorithm of automatic producing the case of combination of condition covering test, and the orthogonal Latin squares method of the automatic producing the case of combination of input variant covering test are offered in the paper. In order to avoid the“premature”phenomena of genetic algorithm, this paper makes some improvements on self-adaptive tactic in the self-adaptive genetic algorithm put forward by M.Srinivas.In the end, the combination of GUI exploited by the script language Tcl/Tk and the pack of the Simulate annealing Genetic algorithm by C is mentioned in this papaer, which leads to the implementation of an simple tool CCTT that can produce the case of combination of condition covering test.
Table of contents
Chapter Introduction 8-10
1.1 Background the 8
1.2 Research objectives and contents 8-9
1.3 The structure of the paper 9-10
Chapter II software test automation Profile 10-21
the 2.1 test automation 10-11
2.2 software test automation definition 11-12
2.3 software test automation purposes 12
2.4 automated software testing standards 12-13
2.5 Scope of Software Test Automation 13-14
2.6 software automatically test architecture 14-15
2.7 test automation advantages and disadvantages 15-17
2.8 automatic test case design the 17-19 2.9 testing tools
the 19-21
Chapter of the genetic algorithms, simulated annealing algorithm 21-45
3.1 Overview 21
3.2 genetic algorithm 21-28
3.2.1 Genetic Algorithm Overview 21-22
3.2.2 Genetic algorithm general description 22-23
3.2.3 Genetic Algorithm application system model and finite automata Description the five elements 23-24
3.2.4 Genetic Algorithms 24-26
3.2 basic steps of .5 genetic algorithm design 26
3.2.6 schema theorem and building blocks assumptions 26-27
3.2.7 contradictions in the genetic algorithm 27 -28
3.3 improved genetic algorithm 28-36
3.3.1 Adaptive Genetic Algorithm 28-30
3.3.2 Adaptive Genetic Algorithm improvements 30-32
3.3.3 Simulation results the 32-36
3.4 simulated annealing algorithm 36-39
3.4.1 Overview 36
3.4.2 Metropolis criteria 36-37
3.4.3 General description of the simulated annealing algorithm 37-39
3.5 simulated annealing genetic algorithm 39 the -45
3.5.1 the SA-IAGA of, application system model and finite automata Description 40-41
3.5.2 Simulation results 41-45
fourth the chapter test data automatically generated 45-66
4.1 condition combination coverage 45-53
4.1.1 condition combination coverage test design 45-47
4.1.2 simulated annealing genetic algorithm automatically generates a combination of conditions covering test data 47-52
4.1.3 A numerical example is 52-53
4.2 input variable value combinations coverage 53-66
4.2.1 input variable value of the pair-wise coverage test cases designed 53-55
4.2.2 orthogonal Latin thereto created black-box testing data - input variable value the CCTT implementation of pair-wise coverage data 55-63
4.2.3 Simulation results 63-66
Chapter for test data generation 66-77
5.1 TCL / TK Introduction 66
5.2 system structure diagram and system flow chart to modify 66-69
5.3 global variables and data structures 69 -72
5.4 key program 72-77
Chapter VI Conclusion 77-79
thank the 79-80
References 80-82
biographical notes and results 82
Related dissertations
- The Study of Flight Sequencing Solutions at Terminal Based on Simulated Annealing Geneticalgorithm
- Study on Wind Speed Soft Sensor for the Wind Power Generation System
- 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