Test Data Reduction Based on Dominance Relations of Target Statements

Xiangjuan Yao,Dunwei Gong,Yongjin Luo,Ming Li
DOI: https://doi.org/10.1109/cec.2012.6256623
2012-01-01
Abstract:Traditional methods of generating test data may result in redundancy of test data, which brings many troubles to software testing. In order to solve the redundancy of test data, this study proposed a novel approach of generating test data by reducing target statements based on dominant relations. First, basic concepts and principles concerning dominance are listed. Then, an approach is proposed to reduce target statements according to their dominant relations. Finally, test suite covering the reduced set of target statements is generated by a genetic algorithm. The generated test suite can also cover all original target statements, which is guaranteed by the proposed strategy. We applied the method to nine benchmark programs, and compared with traditional and greedy methods. The experimental results show that our method can not only reduce redundancy, but also improve the efficiency of generating test data.
What problem does this paper attempt to address?