Path - oriented software test data generation method
- Author
- HanZuo
- Advisor
- LeiHang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 31
- Citations
- 0
- Path-oriented test
- test data generation
- Particle Swarm Optimizationalgorithm(PSO)
- the attractive and repulsive particle swarm optimizationalgorithm(ARPSO)
- Hill Climbing algorithm
Abstract
Software function is more and more powerful, the requirements of softwarequality and reliability are also increasing. Software testing is an integral part of thewhole software development, it can assure the quality and reliability of software. Withsoftware complexity increasing, software testing become more and more difficult, itwill consume a large-scale manpower, material and time. Test data generation is a keypart of software testing, automated test data generation method can effectively improvethe testing efficiency, reduce software development costs.The basic concepts of software testing and the category of testing technology andthen introduces several commonly used testing methods based on structural testing andfunctional test is introduced. And summarize some path-oriented test data generationmethods currently existing and analyze the advantage and disadvantage of thosemethods. Detailed describe the principle and process of test data generation approachesbased on different intelligence algorithm, and analyze their merits and demerits.The particle swarm optimization algorithm is have deeply researched, analyzed itscomplexity and convergence. A modified attractive and repulsive particle swarmoptimization algorithm (MARPSO) is proposed, which is based on the attractive andrepulsive particle swarm optimization algorithm (ARPSO), by employing newdiversity-measure and repulsive operator. The experiment on some test function isimplemented to verify its convergence property.Combined the local convergence of hill climbing algorithm and capability ofsearching the optimal solution within defined space of MARPSO, hill climbingalgorithm combined with MARPSO(HC-MARPSO) is proposed, and then we applyHC-MARPSO algorithm to test data generation. The model framework of test datageneration approach based on HC-MARPSO algorithm is constructed, and thesimulation is implemented. We use new approach to generate a test data for a triangleproblem, and then compare with the Particle Swarm Optimization Algorithm andGenetic Algorithm. The result of experiment showed that the approach of test datageneration based on HC-MARPSO algorithm has higher efficiency.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-13
1.1 background and significance of research 9
1.2 research status 9-11
1.3 major work 11
1.4 In this paper the organizational structure 11-13
Chapter II software testing technology 13-24
2.1 software to test the basic concepts 13-15
2.1.1 software testing definition 13
2.1.2 software test the principle of content of 13
2.1.3 software testing 13-14
2.1.4 software testing process 14-15
2.2 software classification of the test technology 15-23
2.2.1 Statute-based test 16-19
2.2.2 test based on the Program 19-23 <br / 2.3 Summary 23-24
Chapter III of the path-oriented test data generation method nbsp 24-37
3.1 random method; 24
3.2 static France 24-26
3.2.1 The symbolic execution method 24-25
3.2.2 interval arithmetic method 25-26
3.3 Dynamic Method for 26-28
3.3.1 Direct Procedure Act 26-27
3.3.2 program insert piles 27
3.3.3 program step method 27-28
3.3.4 relaxation iteration method 28
3.4 heuristics 28-36
3.4.1 Simulated Annealing algorithms 29-30
3.4.2 Genetic Algorithm 30-33
3.4.3 ant colony algorithm 33-34
3.4.4 artificial immune algorithm 34-36
3.5 Summary 36-37
Research and Improvement of the fourth chapter of the particle swarm algorithm 37-52
4.1 particle swarm optimization concept 37-40
4.1.1 algorithm and processes 37-38
4.1.2 algorithm parameters 38-39
4.1.3 algorithm characteristics 39-40
4.2 algorithm analysis 40-46
4.2.1 Complexity Analysis 40-41
4.2.2 Convergence Analysis 41 -46
4.3 improved to attract the exclusion of particle swarm algorithm 46-51
4.3.1 to attract the exclusion of particle swarm optimization 46-48
4.3.2 attract exclusion particle swarm optimization analysis and improvement 48-49
4.3.3 Algorithm performance test and 49-51
4.4 Summary 51-52
Chapter HC-MARPSO algorithm-based test data generation method 52-60
5.1 HC-MARPSO algorithm-based test data generation model 52-53
5.2 test environment constructed 53-55
5.2.1 path and parameters selected 53
5.2.2 the fitness function, structure and procedures Cartridge 53-55
5.3 the introduction of hill-climbing algorithm improvements to attract exclusion particle swarm optimization (HC-MARPSO) 55-59
5.3.1 hill-climbing algorithm 55-56
5.3.2 the introduction of hill-climbing algorithm improvements to attract exclusion of the particle swarm algorithm 56-58
5.3.3 Algorithm performance test and 58-59
5.4 Summary 59-60
Chapter VI experiment results 60-64
6.1 test environment constructed 60-62
6.1.1 program analysis and path selection 60-61
6.1. 2 program cartridge and the structure of the fitness function 61-62
6.2 Experiments and results analysis 62-63
6.3 Summary 63-64 <br / Chapter 7 Summary and Outlook 64-66
7.1 thesis summary 64
7.2 Looking 64-66
thank 66 -67
References 67-71
during the study period of research 71-72
Related dissertations
- Research on Path-oriented Test Data Generation
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Research on the Algorithmic Optimtzation of Aircraft Collision Avoidance System
- Auto Test Data Generation for Simple Efsm with Procedure Calls
- Research and Implementation on Method of White-box Component Test Data Automatic Generation
- The Research&Implementation of Web Service Test Data Generation
- Research on Testing Technology of Object-oriented Programs Based on Dependency Analysis
- Analysis of Nonlinearity of Boolean Functions and Applcation in Cryptography
- Research on Test Data Automatic Generation
- Automatic path-oriented test data generation method
- Research of Test Data Generation Based on Evolutionary Testing
- Theory of Evolutionary Generation of Test Data for Complex Software and Applications
- Test Data Generation Using Annealing Immune Genetic Algorithm
- A Program Verification and Testing Tool Based on Symbolic Execution and Constraint Solving
- The Design and Realization of Test Data Generation and Management Subsystem of Supporting Platform of EJB
- Research and Application of genetic algorithm path coverage test data generation
- Applications of Optimisation Heuristics in the Design and Analysis of Sequence Cipher
- A Study on a New Automatic Generation Approach of the Boundary Test Data
- Research on Program Slicing Technique and Its Application in Software Test Data Generation
- Automatic analysis tool for software testing