Application of Genetic Algorithm in Automatic Software Testing

One of the major challenge and time-consuming work is optimum test data generation to assure software quality. Researchers have proposed several methods over years to generate automatically solution which have different drawbacks. In this paper, we propose Genetic Algorithm (GA) based tester with different parameters to automate the structural-oriented test data generation on the basis of internal program structure. Our proposed fitness function is intended to traverse paths of the program as more as possible. This integration improves the GA performance in search space exploration and exploitation fields with faster convergence. At last, we present some results according to our experiment which were promising in term of structural coverage and time order.

[1]  Mario Jino,et al.  Identification of potentially infeasible program paths by monitoring the search for test data , 2000, Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering.

[2]  Melanie Mitchell,et al.  An introduction to genetic algorithms , 1996 .

[3]  Irman Hermadi,et al.  GA-based multiple paths test data generator , 2008, Comput. Oper. Res..

[4]  John H. Holland,et al.  Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence , 1992 .

[5]  David E. Goldberg,et al.  Genetic Algorithms in Search Optimization and Machine Learning , 1988 .

[6]  Donald J. Berndt,et al.  Breeding software test cases with genetic algorithms , 2003, 36th Annual Hawaii International Conference on System Sciences, 2003. Proceedings of the.