Evolutionary test data generation: a comparison of fitness functions: Research Articles

  • Authors:
  • Alison Watkins;Ellen M. Hufnagel

  • Affiliations:
  • Information Systems and Decision Sciences, College of Business, University of South Florida St Petersburg, 140 Seventh Avenue South, St Petersburg, FL 33701, U.S.A.;Information Systems and Decision Sciences, College of Business, University of South Florida St Petersburg, 140 Seventh Avenue South, St Petersburg, FL 33701, U.S.A.

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Previous research using genetic algorithms to automate the generation of data for path testing has utilized several different fitness functions, assessing their usefulness by comparing them to random generation. This paper describes two sets of experiments that assess the performance of several fitness functions, relative to one another and to random generation. The results demonstrate that some fitness functions provide better results than others, generating fewer test cases to exercise a given program path. In these studies, the branch predicate and inverse path probability approaches were the best performers, suggesting that a two-step process combining these two methods may be the most efficient and effective approach to path testing. Copyright © 2005 John Wiley & Sons, Ltd.