Title :
Test data reduction based on dominance relations of target statements
Author :
Yao, Xiangjuan ; Gong, Dunwei ; Luo, Yongjin ; Li, Ming
Author_Institution :
Coll. of Sci., China Univ. of Min. & Technol., Xuzhou, China
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.
Keywords :
data reduction; genetic algorithms; greedy algorithms; program testing; dominance relations; generated test suite; genetic algorithm; greedy method; software testing; target statements; test data reduction; Correlation; Educational institutions; Genetic algorithms; Redundancy; Software; Software testing;
Conference_Titel :
Evolutionary Computation (CEC), 2012 IEEE Congress on
Conference_Location :
Brisbane, QLD
Print_ISBN :
978-1-4673-1510-4
Electronic_ISBN :
978-1-4673-1508-1
DOI :
10.1109/CEC.2012.6256623