Test Data Generation for Multiple Paths Coverage Based on Ant Colony Algorithm

被引:0
|
作者
Liao W.-Z. [1 ]
Xia X.-Y. [1 ]
Jia X.-J. [1 ]
机构
[1] College of Mathematics Physics and Information Engineering, Jiaxing University, Jiaxing, 314001, Zhejiang
来源
关键词
Ant colony algorithm; Multiple paths; Path coverage; Test data generation; Valuableness of ants;
D O I
10.3969/j.issn.0372-2112.2020.07.011
中图分类号
学科分类号
摘要
In order to improve the generation efficiency of multipath coverage test data, a novel method is proposed based on ant colony algorithm (ACO).Firstly, an improved ACO is developed.The importance of an ant to generate test data is considered as a factor for ant state transfer and path mutation.As a result, more ants are guided to traverse small probabilities node and the efficiency of test data generation is improved.Secondly, according to the improved ACO, test data generation of multipath coverage based on single pheromone table and multiple pheromone tables are proposed.In a multiple pheromones table based approach, the pheromone table of each target path is also used to generate test data for other target path, and the test data of multiple paths are generated by running ACO only once.Finally, the effectiveness and complexity of the proposed method are analyzed theoretically.Experimental results show that test data generation based on multi-pheromone tables can effectively generate multipath coverage test data compared with other methods. © 2020, Chinese Institute of Electronics. All right reserved.
引用
收藏
页码:1330 / 1342
页数:12
相关论文
共 43 条
  • [41] ZHU Ziming, XU Xiong, Improved evolutionary generation of test data for multiple paths in search-based software testing, 2017 IEEE Congress on Evolutionary Computation, pp. 612-620, (2017)
  • [42] GONG Dun-wei, ZHANG Yan, Novel evolutionary generation approach to test data for multiple paths coverage[J], Acta Electronica Sinica, 38, 6, pp. 1299-1304, (2010)
  • [43] ZHANG Y, GONG D, YAO X, LU Q., Generating test data covering multiple paths using genetic algorithm incorporating with reducing input domain, Proceedings of Chinese Intelligent Systems Conference, pp. 739-747, (2017)