Title :
Comparison of Two Fitness Functions for GA-Based Path-Oriented Test Data Generation
Author :
Chen, Yong ; Zhong, Yong ; Shi, Tingting ; Liu, Jingyong
Author_Institution :
Zhongkai Univ. of Agric. & Eng., Guangzhou, China
Abstract :
Automatic path-oriented test data generation is not only a crucial problem but also a hot issue in the research area of software testing today. As a robust metaheuritstic search method in complex spaces, genetic algorithm (GA) has been used to path-oriented test data generation since 1992 and outperforms other approaches. A fitness function based on branch distance (BDBFF) and another based on normalized extended Hamming distance (SIMILARITY) are both applied in GA-based path-oriented test data generation. To compare performance of these two fitness functions, a triangle classification program was chosen as the example. Experimental results show that BDBFF-based approach can generate path-oriented test data more effectively and efficiently than SIMILARITY- based approach does.
Keywords :
genetic algorithms; program testing; search problems; SIMILARITY; automatic path-oriented test data generation; branch distance based fitness function; fitness functions; genetic algorithm; metaheuritstic search method; normalized extended Hamming distance; software testing; triangle classification program; Automatic testing; Costs; Genetic algorithms; Hamming distance; Input variables; Robustness; Search methods; Software quality; Software testing; Space technology; Genetic Algorithm; Software Testing; Test Data Generation;
Conference_Titel :
Natural Computation, 2009. ICNC '09. Fifth International Conference on
Conference_Location :
Tianjin
Print_ISBN :
978-0-7695-3736-8
DOI :
10.1109/ICNC.2009.235