Research Article Open Access

A Tool for Generation and Minimization of Test Suite by Mutant Gene Algorithm

Selvakumar Subramanian and Ramaraj Natarajan


Problem statement: This study proposes a new idea for generation of minimized test suite in the test case generation using the mutant gene algorithm, which not only identifies the best test cases but also reduces the number of test cases generated, selects test cases optimally there improving the performance in testing of software. Test cases are generated by using branch coverage algorithm and a coverage table is created for verifying branch coverage. Approach: The process of minimization was done through Mutant gene algorithm. Mutant gene algorithm combined both the mutation testing process and genetic algorithm. Initially a number of chromosomes were generated in random order. Mutation score was used for finding fitness function. The fitness function was found for all the randomly generated chromosomes by applying the mutant score to the function. Rank based selection was used for selecting the chromosomes. After the selection of the chromosomes one-point crossover was performed. A population of chromosomes obtained, which was given as the input for the next iteration. Large iterations were performed to obtain the best test case with higher fitness value, it was the end condition. Results: Between the measured iterations the value of the mutant score remained constant. The results of the experiments showed that the minimization process was competitive with other methods and even outperforms them for complex cases. Conclusion: The whole generation and minimization process was fully automated; redundant explorations of test case were avoided, resulting in efficient generation of test cases.

Journal of Computer Science
Volume 7 No. 10, 2011, 1581-1589


Submitted On: 13 March 2011 Published On: 9 August 2011

How to Cite: Subramanian, S. & Natarajan, R. (2011). A Tool for Generation and Minimization of Test Suite by Mutant Gene Algorithm. Journal of Computer Science, 7(10), 1581-1589.

  • 6 Citations



  • Test case generation
  • test suite minimization
  • test suite reduction
  • genetic algorithms
  • test data
  • mutation testing
  • mutants detected
  • System Under Test (SUT)
  • mutant gene algorithm
  • redundant explorations