Generating Test Data Covering Multiple Paths Using Genetic Algorithm Incorporating with Reducing Input Domain

Yan Zhang,Dunwei Gong,Xiangjuan Yao,Qiang Lu
DOI: https://doi.org/10.1007/978-981-10-6499-9_70
2017-01-01
Abstract:The problem of efficiently generating test data covering multiple paths was focused on this study, and a method of generating test data covering multiple paths using a genetic algorithm incorporating with reducing the input domain of a program was presented. In this method, all target paths are first divided into several groups based on the same independent sub-path, and the input variables corresponding to the independent sub-path are determined. Then, a multi-population genetic algorithm is used to generate test data to cover these target paths, each sub-population generating test data covering target paths belonging to the same group. During the evolution, the input variables corresponding to the traversed independent sub-path are remained fixed, and the ranges of crossover and mutation operations are reduced, leading to these sub-populations’ search in a reduced input domain so that the efficiency of generating test data is improved.
What problem does this paper attempt to address?