Research on Particle Swarm Optimization-Based Test Cases Generation and Prioritization
- Author
- YuXinXin
- Advisor
- MaoChengYing
- School
- Jiangxi University of Finance
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 40
- Citations
- 0
Abstract
With the advance of modern information society, software system has become animportant part of people’s daily lives. Software error may be related to issues ofpersonal and property safety, and even cause huge economic losses. Therefore, toensure the quality of the software system and improve the efficiency of softwaretesting, more advanced software testing technology is needed. As the key link ofautomated software testing, the way of software test cases automatic generation cangreatly reduce the cost of software testing and improve the efficiency of softwaretesting, and test cases prioritization can further improve the cost-effective ratio ofsoftware testing. As we all know, search algorithm is considered to be the mostpotential way for test case automatic generation and prioritization. Although there arelots of domestic and foreign researches, it is still not mature enough. So it is worth toresearch on the automatic test cases generation and prioritization based on the searchalgorithm.This paper mainly researches on test cases automatic generation andprioritization based on particle swarm optimization. For the problem of test casesgeneration, the framework of automatic generation of test cases based on PSO ispresented, which is an effective solution for further study. To verify the validity ofPSO for test cases generation, this paper makes a comparative study on PSO with GAand SA from four aspects which are the average branch coverage, the average successrate, the average convergence generation and the average convergence timerespectively. Study indicates that PSO is faster and more efficient. At the same time,contrast analysis is described between PSO and its four typical variants for test casesgeneration. For the problem of test cases prioritization, an improved PSO-based testcases prioritization way is presented. Experimental results show that it is significantlyhigher than the greedy algorithm, and equivalent with additional greedy algorithm.Therefore, the ways presented in this paper, which are simple, fast and effect, provideefficient solutions for test cases generation and prioritization problems.
Table of contents
Summary 7-8
Abstract 8-9
1 Introduction 9-13
1.1 Background 9-10 <br / > 1.2 domestic and foreign research status major work 10-11
1.3 papers 11-12
1.4 thesis structure 12-13
2 software automatically generate and optimize test cases 13-23
2.1 software Test Description 13
2.2 automatic test case generation technology 13-20
2.2.1 traditional test case generation 13-14
2.2.2 search algorithm based test case generation 14-15
2.2.3 Introduction Search algorithm 15-20
2.3 test optimization 20-22
2.4 Summary 22-23
3 PSO 23-28
3.1 particle Swarm Optimization algorithm 23-24
3.2 particle Swarm Optimization algorithm variants 24-27
3.2.1 integrated Learning particle Swarm 24-25
3.2.2 cooperative particle swarm 25-26
3.2.3 quantum particle swarm 26
3.2.4 adaptive Particle swarm 26-27
3.3 Summary 27-28
4 to generate test data based on PSO 28-43
4.1 PSO -based testing data generation framework 28-29
4.2 key technology 29-32
4.2.1 Cartridge technology 29-30
4.2.2 fitness function construction 30-32
4.3 experimental Analysis 32-42
4.3.1 experimental set 32-34
4.3.2 different types of search algorithms comparative analysis ; comparative analysis algorithm and its variants algorithm nbsp 34-39
4.3.3 PSO 39-42
4.4 Summary 42-43
5 PSO sort of test cases based 43-52
5.1 sorting algorithm based on PSO test 43-47
5.1.1 PSO individual coding 43
5.1.2 Introduction to the basic concepts 43-44
5.1.3 adapt constructor 44-45
5.1.4 algorithm flow 45-47
5.2 experimental Analysis 47-50
5.2.1 experimental set 47-49
5.2.2 Comparative analysis 49 - 50
5.3 summary 50-52
6 summary and Outlook 52-53
6.1 summarizes 52
6.2 Prospects 52-53
References 53-57
master's research during 57-58
Appendix 58-63
Thanks 63-64
Related dissertations
- An Improved Case-based Reasoning Approach and Its Application in Soft Measurement Modeling
- Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
- Research and Application of Reactor Vessel Temperature Control Prediction Algorithms Based on Particle Swarm Optimization Algorithm
- Reasearch on WSN Localization Algorithms Based on RSSI and Localization System Implementation
- Research on Hybrid Particle Swarm Algorithm and Applied in Cloud Computing Task Scheduling
- Improved Support Vector Machine Based on Particle Swarm Optimization Algorithm
- A Study of CCD Liquid Level Sensor Calibrating Based on Neural Network Algorithm
- The Application of an Improved Artificial Fish Swarm Optimization Algorithm to the Real Submersible Path-planning
- Improved Support Vector Machine and Its Application in Fault Diagnosis
- Research on Fuzzy Neural Network Based on Improved PSO
- Research on Optimization of Neural Network Model by Improved PSO Algorithm and Its Application
- Research and application of membrane system particle swarm optimization algorithm in the evolution of industrial clusters based on
- Decoupled Fuzzy Sliding Mode Control Algorithm
- Fractional order control algorithm research and application in the permanent magnet AC servo system.
- The Research on3D Display Platform for Mechanical Products Based on Solidworks
- Test Cases Generating and Prioritizating of Embedded Software Defect Detecting
- Imbalanced Data Classification Algorithm Based on Hybrid Model
- Research on Dynamic Feedback Mechanism for the Bionical Algorithms and Parallel Implementation
- Image Matching Algorithm Based on Integer Lifting Wavelet Transform and Improved Alignment Metric
- Search of Radar Network Deployment Based on Multi-objective Optimization