Evolutionary test data generation: A comparison of fitness functions.
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.
John Wiley & Sons Ltd.
Watkins, A. & Hufnagel, E.M. (2006). Evolutionary test data generation: A comparison of fitness functions. Software—Practice and Experience, 36, 95-116. doi: 10.1002/spe.684
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.