A case study on the use of genetic algorithms to generate test cases for temporal systems

  • Authors:
  • Karnig Derderian;Mercedes G. Merayo;Robert M. Hierons;Manuel Núñez

  • Affiliations:
  • Department of Information Systems and Computing, Brunel University, United Kingdom;Departamento de Sistemas Informáticos y Computación, Universidad Complutense de Madrid, Madrid, Spain;Department of Information Systems and Computing, Brunel University, United Kingdom;Departamento de Sistemas Informáticos y Computación, Universidad Complutense de Madrid, Madrid, Spain

  • Venue:
  • IWANN'11 Proceedings of the 11th international conference on Artificial neural networks conference on Advances in computational intelligence - Volume Part II
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Generating test data for formal state based specifications is computationally expensive. In previous work we presented a framework that addressed this issue by representing the test data generation problem as an optimisation problem. In this paper we analyze a communications protocol to illustrate how the test case generation problem can be presented as a search problem and automated. Genetic algorithms (GAs) and random search are used to generate test data and evaluate the approach. GAs show to outperform random search and seem to scale well as the problem size increases. We consider a very simple fitness function that can be used with other evolutionary search techniques and automated test case generation suites.