A novel approach to automate test data generation for data flow testing based on hybrid adaptive PSO-GA algorithm Online publication date: Fri, 17-Mar-2017
by Sumit Kumar; Dilip Kumar Yadav; Danish Ali Khan
International Journal of Advanced Intelligence Paradigms (IJAIP), Vol. 9, No. 2/3, 2017
Abstract: The most important and crucial activity to develop good quality software is software testing. The most important activity in software testing is to find optimal test suite in input domain to satisfy a certain test adequacy criteria. So to develop an efficient approach to generate test data is a prime issue in software testing. This paper proposes a novel approach to generate test data automatically for data flow testing based on hybrid adaptive PSO-GA algorithm. The hybrid APSO-GA is developed to conquer the weakness of GA and PSO algorithms, especially in data flow testing. A new fitness function is also designed on the basis of the concept of dominance relations, branch weight and branch distance to guide the search direction more efficiently. The efficiency of proposed approach is then tested on ten benchmark programs and four real world programs. The proposed approach is then compared with GA, PSO, ACO, DE and hybrid GA-PSO on the basis of two performance parameters, average number of generations and average coverage achieved. The results show that hybrid adaptive PSO-GA gives better results as compared to other algorithms that are used in the field of test data generation.
Online publication date: Fri, 17-Mar-2017
If you are not a subscriber and you just want to read the full contents of this article, buy online access here.Complimentary Subscribers, Editors or Members of the Editorial Board of the International Journal of Advanced Intelligence Paradigms (IJAIP):
Login with your Inderscience username and password:
Want to subscribe?
A subscription gives you complete access to all articles in the current issue, as well as to all articles in the previous three years (where applicable). See our Orders page to subscribe.
If you still need assistance, please email firstname.lastname@example.org