Title :
Automatic test case generation based on genetic algorithm and mutation analysis
Author :
Haga, Hisashi ; Suehiro, A.
Author_Institution :
Dept. Comput. Sci., Doshisha Univ., Kyotanabe, Japan
Abstract :
This paper proposes a method that automatically generates software test cases based on a genetic algorithm and mutation analysis. Our method combines random generation and refinement. Each test case is generated randomly in the first step, and then a set of test cases is refined by the genetic algorithm. To measure the adequacy of the test case set, we use mutation scores, which are based on the mutation analysis of software testing. Our proposed method, which is applied to a C programing language program, automatically generated test case sets with 100% branch and boundary value coverages. The generation time of one test case set was approximately 130 ms.
Keywords :
C language; genetic algorithms; program testing; C programing language program; automatic test case generation; branch and boundary value; genetic algorithm; mutation analysis; mutation scores; software test cases; Assessment of Test Cases; Genetic Algorithm (GA); Mutation Analysis; Software Testing;
Conference_Titel :
Control System, Computing and Engineering (ICCSCE), 2012 IEEE International Conference on
Conference_Location :
Penang
Print_ISBN :
978-1-4673-3142-5
DOI :
10.1109/ICCSCE.2012.6487127