Test data generation for path coverage of message-passing parallel programs based on co-evolutionary genetic algorithms

作者:Tian Tian, Dunwei Gong

摘要

Employing genetic algorithms to generate test data for path coverage has been an important method in software testing. Previous work, however, is suitable mainly for serial programs. Automatic test data generation for path coverage of message-passing parallel programs without non-determinacy is investigated in this study by using co-evolutionary genetic algorithms. This problem is first formulated as a single-objective optimization problem, and then a novel co-evolutionary genetic algorithm is proposed to tackle the formulated optimization problem. This method employs the alternate co-evolution of two kinds of populations to generate test data that meet path coverage. The proposed method is applied to seven parallel programs, and compared with the other three methods. The experimental results show that the proposed method has the best success rate and the least number of evaluated individuals and time consumption.

论文关键词:Software testing, Test data, Path coverage, Parallel program, Co-evolutionary genetic algorithm

论文评审过程:

论文官网地址:https://doi.org/10.1007/s10515-014-0173-z