DocumentCode :
3538448
Title :
Generating Test Data for Structural Testing Based on Ant Colony Optimization
Author :
Mao, Chengying ; Yu, Xinxin ; Chen, Jifu ; Chen, Jinfu
Author_Institution :
Sch. of Software & Commun. Eng., Jiangxi Univ. of Finance & Econ., Nanchang, China
fYear :
2012
fDate :
27-29 Aug. 2012
Firstpage :
98
Lastpage :
101
Abstract :
Software testing has been always viewed as an effective way to ensure software quality both in academic and industry. In fact, the quality of test data set plays a critical role in the success of software testing activity. According to the basic line of search-based software testing, we introduced ant colony optimization (ACO) to settle this problem and proposed a framework of ACO-based test data generation. In our algorithm TDG_ACO, the local transfer rule, global transfer rule and pheromone update rule are re-defined to handle the continuous input domain searching. Meanwhile, the most widely-used coverage criterion, i.e., branch coverage, is adopted to construct fitness function. In order to validate the feasibility and effectiveness of our method, five real-world programs are utilized to perform experimental analysis. The results show that our algorithm outperforms the existing simulated annealing and genetic algorithm in most cases.
Keywords :
ant colony optimisation; data handling; program testing; software quality; ACO; ant colony optimization; branch coverage; global transfer rule; local transfer rule; software quality; software testing; structural testing; test data generation; Algorithm design and analysis; Educational institutions; Genetic algorithms; Measurement; Software algorithms; Software testing; Test data generation; ant colony optimization; branch coverage; fitness function; meta-heuristic search;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Quality Software (QSIC), 2012 12th International Conference on
Conference_Location :
Xi´an, Shaanxi
ISSN :
1550-6002
Print_ISBN :
978-1-4673-2857-9
Type :
conf
DOI :
10.1109/QSIC.2012.12
Filename :
6319230
Link To Document :
بازگشت