Comparison of Two Fitness Functions for GA-Based Path-Oriented Test Data Generation

  • Authors:
  • Yong Chen;Yong Zhong;Tingting Shi;Jingyong Liu

  • Affiliations:
  • -;-;-;-

  • Venue:
  • ICNC '09 Proceedings of the 2009 Fifth International Conference on Natural Computation - Volume 04
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

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.