Research on Test Case Generation Based on Improved PSO Algorithm
- Author
- LiuRui
- Advisor
- ShenXiaJiong
- School
- Henan University
- Major
- Applied Mathematics
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 49
- Citations
- 0
Abstract
Test cases automatically generate software test automation is an important part, is to improve the efficiency of software testing, reduce the cost of software development, software quality assurance means. Automatic path-oriented test case generation method, the low efficiency of the traditional method of random static, dynamic method exist, the process is complex, to solve the problem of incomplete defects, genetic algorithms in test case generation superiority , encoding and decoding, but requires complex operation, so that the operating efficiency is decreased. How to quickly and efficiently generate the qualifying test cases has important theoretical and practical significance. Particle swarm algorithm (Particle Swarm Optimization, referred PSO) fast convergence speed, ease of use, versatility, provides a new way to resolve the problem of path-oriented test cases automatically generated. But the algorithm also has the ability of local search, search accuracy is not high, easy to fall into the local extremum and other defects. In order to overcome the shortcomings improved algorithm proposes a chaotic local search-based adaptive particle swarm optimization algorithm (Adaptive Particle Swarm Optimization with Chaotic Local Search APSOCLS) test case automatic generation method. The focus of the work is as follows: 1, the use of adaptive strategy: the inertia weight factor is key to the convergence of the algorithm and search performance, this paper, the fitness of particles and particle aggregation degree to develop adaptive adjustment strategy, balancing algorithm for global exploration capability and local improved ability to improve the speed and accuracy of the convergence of the algorithm. 2, adding chaotic local search (CLS): resolved chaotic local search algorithm local search ability is poor, slow the local extrema convergence speed and extreme value near the shock. In order to improve the speed and accuracy of the chaos search text using more uniform distribution Tent mapping and try to avoid in their own small cycle and fixed point. 3, design-oriented path test case generation algorithm, to improve the efficiency of the generated test cases. Finally, the text in the test case generation model validation, two indicators of the number of iterations required to generate test cases and run-time measure, compared with the existing PSO algorithm and immune genetic algorithm, experiments prove, based on a chaotic local Adaptive PSO search test cases automatically generated efficiency improved. In order to study more practical value, based on the above study, developed using VB language based on APSOCLS algorithm-oriented path test cases automatically generate utility, run the tool can automatically generate test cases for the specified path has a certain practicality .
Related dissertations
- 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
- Research and Implementation on Software Testing with Statistical Method
- Research on Key Problems of CBTC Test Platform