Automatic Generation of Minimal Test Suite Based on LSGA
- Author
- LiuDong
- Advisor
- ZuoXiangHong
- School
- Huazhong University of Science and Technology
- Major
- Biomedical Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 40
- Citations
- 2
- Test Suite
- Test Case
- basic path suite
- largest steady genetic algorithm
- Genetic Algorithm
- Software Testing
Abstract
With the computer technology rapid improvement, the software has also walked into each domain of human society. However along with the software scale unceasing expansion, the complexity of the software also unceasingly enhances and the effective software development becomes more and more difficult. So the software quality and reliability becomes an important task in the field of software engineering.Software testing is a important method to guarantee the software quality and reliability, but it is a complex process and needs to consume the huge manpower, resource and time. Therefore, it is very important that the enhancement of software testing automaticity can guarantee the software quality and reduce the software development cost. Among them, improving the automaticity of the test case production also is a very important step. In view of the universal question in research work, this paper proposes automatic generation of minimal test suite and improved genetic algorithm to apply in the question.Starting the research work from this question. First, this paper systematically introduces the research of automatic testing, software testing theory and the automatic generation technology of test case. In which, it emphatically elaborates the automatic generation technology of code-based test case, then elaborates the genetic algorithm theory and the realization method.This paper emphatically introduces the realization technology of the system, which is automatic generation of minimal test suite based on LSGA. Combining the test target, which achieves statement coverage, with basic path testing technology and program instrumenter, the author proposes the largest steady genetic algorithm (LSGA) and applied it in the automatic generation of minimal test suite. Then the paper emphatically elaborates the crucial technology of the system realization, fitness function build, path-numbering, parameters coding, selection operator, crossover operator, mutation operator. The author proposes the ?°the neighbor first?±principle and ?°nearby-path numbering?±principle when fitness function is built and path is numbered. Finally the simulation experiment and the performance analysis are carried on the algorithm.The paper applies this theory to develop the prototype system and its performance is obviously superior to simply genetic algorithm. Finally, the paper is summarized and the next research direction is proposed, according to the deficiency which exists in the system.
Table of contents
Abstract 4-5
Abstract 5-9
1 Overview 9-15
1.1 Background and significance topics 9 - 10
1.2 research status and development 10-12
1.3 problems 12-13
1.4 the main work 13-14
1.5 the paper is structured 14-15
2 software testing and automation technology 15-29
2.1 software testing concepts 15-17 <br / > 2.2 software testing theory 17-19
2.3 software test Automation 19-21
2.4 automatic test case generation techniques and methods 21-26 <br / > 2.5 automatic test case generation universal model 26-27
2.6 of this research testing techniques and methods 27-29
3 genetic Algorithm and Implementation Technology 29 -40
3.1 genetic algorithms 29-32
3.2 basic operation of genetic algorithm 32-34
3.3 genetic algorithm application key technologies 34 -37
3.4 common genetic Algorithm 37-40
4 LSGA set of test cases based on automatically generated 40-53
4.1 design use case ideas 40
4.2 LSGA automatic generation algorithm 40-41
4.3 automatically generates test cases based LSGA model 41-42
4.4 MTSPBS system implementation 42-51
4.5 system prototyping 51
4.6 system application 51-53
5 experiments and results analysis 53-56 <br / > 5.1 experimental procedures 53
5.2 results and performance analysis 53-55
5.3 convergence Analysis 55
5.4 Conclusion 55 - 56
6 Summary and Outlook 56-58
Thanks 58-59
References 59-61
Related dissertations
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Research and Implementation of Automated Testing Platform Based on Andorid
- Research on Web Service Testing Model and Testing Approach Based on Agent
- The Research and Design of Test Case Generation Tool Based on Constraint Programming
- Research on Software Test Module of Lead-free Solder Paste Printed Equipment
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Testing for Selecting Atm Equipments Based on Event-Driven
- N3806Mobile Phone Black Box Testing Management and Method
- Nuclear power software testing research based on local continuity
- Test Case Generation and Management
- Website Design and Implementation of Mobile Phone Sales
- The Design and Implementation of Software Testing Architecture of Wireless Sensor Networks
- Research on Analysis and Testing Techniques of Object-Oriented Programs
- Research and Implementation of Testing Techniques for UML
- Reuse Strategy and Its Implementation on Software Testing and Evaluation
- Research on Some Key Technology of Software Testing Reuse Based on Formal Method
- Key Technology Research service grid environment scenario testing
- Software Testing Study and Its Implementation in Multimedia Network Teaching System
- Research and Application of Software Unit Test
- Research and Application of a Test Case Generation System Based on Exploratory Testing