A novel approach to automate test data generation for data flow testing based on hybrid adaptive PSO-GA algorithm
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

The full text of this article is only available to individual subscribers or to users at subscribing institutions.

Existing subscribers:
Go to Inderscience Online Journals to access the Full Text of this article.

Pay per view:
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:

    Username:        Password:         

Forgotten your 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 subs@inderscience.com