Generating Test Case for Object-Oriented Software Using Genetic Algorithm and Mutation Testing Method

  • Authors:
  • Yamina Mohamed Ben Ali;Fatma Benmaiza

  • Affiliations:
  • University of Badji Mokhtar, Algeria;University of Badji Mokhtar, Algeria

  • Venue:
  • International Journal of Applied Metaheuristic Computing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents an automatic creation of software test cases based on the use of a genetic algorithm and a mutation testing technique. The aim of this work is then the optimization of a score function in order to give the best set of optimal test case needed for testing an oriented-object program. Therefore, the proposed search-based approach generates in a first time a set of mutants according to an input program for testing the output of methods belonging in the tested class. On the second time, the output of the mutants and the input program are compared to evaluate the performance of all chromosomes in the genetic population. Finally, at the end of the chromosomes evolution the best test case in retrieved as the optimal one.