To search, Click below search items.


All Published Papers Search Service


Automatic Software Structural Testing by Using Evolutionary Algorithms for Test Data Generations


Maha Alzabidi, Ajay Kumar, A.D. Shaligram


Vol. 9  No. 4  pp. 390-395


Software testing is an important activity of the software development process. It is a critical element of software quality assurance. Structural-oriented test methods which define test cases on the basis of internal program structure are widely used. Evolutionary testing is a promising approach for automation of structural test case design, which search test data that fulfill given structural test criteria by manner of evolutionary computation. In this article we investigate the performance of proposed GA with different parameters combinations used to automate the test data generation for path coverage. The investigation involves crossover strategies and methods of selecting of parents for reproduction and mutation rates. The results of the study showed that double crossover was more successful in path coverage. The study results Also that, selecting parent for reproduction according to their fitness is more efficient than random selection. And that mutation rate is better adjusted with program at hand. Also, we studied the generation to generation progress in the proposed GA while searching for good test data. The work is compared with random testing. And we concluded that the proposed GA improves the search from one generation to the next, and performs better than random testing, where the search was absolutely random and does not show improvement through the generations. Another observation is that random testing generates less successful test cases than the proposed GA.


software testing, unit testing , path testing, genetic algorithms, test data generation