咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Automated test data generation... 收藏

Automated test data generation for branch testing using incremental genetic algorithm

作     者:Manikumar, T. Kumar, A. John Sanjeev Maruthamuthu, R. 

作者机构:RVS Coll Engn Dept Comp Applicat Dindigul 624005 Tamil Nadu India Thiagarajar Coll Engn Dept Comp Applicat Madurai 625015 Tamil Nadu India 

出 版 物:《SADHANA-ACADEMY PROCEEDINGS IN ENGINEERING SCIENCES》 (Sadhana)

年 卷 期:2016年第41卷第9期

页      面:959-976页

核心收录:

学科分类:12[管理学] 1201[管理学-管理科学与工程(可授管理学、工学学位)] 08[工学] 

主  题:Search-based software testing branch coverage test data generation genetic algorithm 

摘      要:Cost of software testing can be reduced by automated test data generation to find a minimal set of data that has maximum coverage. Search-based software testing (SBST) is one of the techniques recently used for automated testing task. SBST makes use of control flow graph (CFG) and meta-heuristic search algorithms to accomplish the process. This paper focuses on test data generation for branch coverage. A major drawback in using meta-heuristic techniques is that the CFG paths have to be traversed from the starting node to end node for each automated test data. This kind of traversal could be improved by branch ordering, together with elitism. But still the population size and the number of iterations are maintained as the same to keep all the branches alive. In this paper, we present an incremental genetic algorithm (IGA) for branch coverage testing. Initially, a classical genetic algorithm (GA) is used to construct the population with the best parents for each branch node, and the IGA is started with these parents as the initial population. Hence, it is not necessary to maintain a huge population size and large number of iterations to cover all the branches. The performance is analyzed with five benchmark programs studied from the literature. The experimental results indicate that the proposed IGA search technique outperforms the other meta-heuristic search techniques in terms of memory usage and scalability.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分