Abstract

The pairwise test suite generation is one of key issues of combinatorial testing. This paper presents a novel discrete particle swarm optimization algorithm (DPSO) to generate pairwise test data of combinatorial testing. In the algorithm, a particle represents a test suite, fitness function is evaluated by the uncovered number of combination pair, and the position of the particle is produced by stochastic algorithm, which is randomly generated by the frequency of discrete values of all factors in test suite, then optimal test suite which covers all combination pairs is generated. Finally, the classic example is used to illustrate the performance of the proposed algorithm. Compared with the existing algorithms, this paper provides an effective pairwise test suite generation method which has nothing to do with the initial value and can generate the most effective test suit with fast convergence, less calculation and stability.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call