Evolutionary generation of test data for multi-paths coverage of parallel programs by grouping

Tian Tian,Dunwei Gong
DOI: https://doi.org/10.3969/j.issn.2095-2783.2014.04.015
2014-01-01
Abstract:Parallel software testing has attracted wide-ranging attention in the community of software engineering.However,less research is concerned with effectively generating test data for multi-paths coverage of parallel programs.We investigated the problem of generating test data for multi-paths coverage of message-passing parallel programs and proposed a grouping-based method of evolutionarily generating test data.First,target paths were divided into several groups according to the number of processes in a parallel program,available computation resources,and the similarities of target paths,and the mathematical model of generating test data for multi-paths coverage was built based on the target paths belonging to each group.Secondly,a multi-population parallel genetic algorithm was employed to solve the above model,so that the test data covering all target paths could be generated in one run of the genetic algorithm.Performance analysis indicates that the proposed method guarantees not only a small difference in the number of target paths belonging to different groups,but also a great similarity among target paths in the same group.The proposed method was applied to four benchmark programs,and compared with existing methods.The experi-mental results show that the proposed method greatly reduces the number of evaluated individuals and the consumption time on the promise of meeting the path coverage rate.
What problem does this paper attempt to address?