Font Size: a A A

Design Of Automatic Testing Case Generation Algorithm And Book Purchasing System

Posted on:2015-07-03Degree:MasterType:Thesis
Country:ChinaCandidate:A L HeFull Text:PDF
GTID:2308330461996763Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Automatic generation of software test case is an important research topic in the software testing technology. Applying intelligent optimization search algorithm to the automatic generation of software test case has become an important research direction. On the other hand, with the development of information technology, Buying books through Internet are becoming more and more popular, which information management requirements are higher, therefore, aiming at the software automatic test case generation algorithm and system design to purchase books based on WEB are studied, the main work are as follows:Proposed an algorithm of automatic generation of test cases based on Improved Particle Swarm Optimization(IPSO) and used for the automatic generation of test case. The algorithm overcomes the particle swarm algorithm is easy to fall into local optimum using the inertia weight adaptive adjustment, to balance the searching ability and local search ability of the algorithm in the evolutionary process; the immune memory and vaccination mechanism are introduced to improve the problem of population diversity in the particle iterative process; in the process of particle iteration, the neighborhood mechanism is used to expand the search space. Simulation results show that the improved algorithm can enhance the efficiency of test data generation algorithm.Using the software engineering method to design and realize purchase books based on WEB. The system is based on My Eclipse development platform, using the MVC design pattern and SSH framework and using the test case generation IPSO algorithm for the core function of the system module test. Multi-layer development low coupling, the system code reuse, improve the maintainability and expansibility of the system.The testing shows that the system works well.
Keywords/Search Tags:Software testing, Test cases, Particle swarm optimization, Path coverage, Books purchase system
PDF Full Text Request
Related items