首页 | 官方网站   微博 | 高级检索  
     

基于SA-PSO的多态路径测试数据生成方法
引用本文:曾一,蔡森虎,覃钊璇,周吉,许林. 基于SA-PSO的多态路径测试数据生成方法[J]. 计算机应用研究, 2011, 28(8): 3034-3036. DOI: 10.3969/j.issn.1001-3695.2011.08.064
作者姓名:曾一  蔡森虎  覃钊璇  周吉  许林
作者单位:重庆大学计算机学院,重庆,400030
摘    要:目前测试数据生成方法多数未考虑到面向对象软件的多态特性,无法运用生成的测试数据对程序的多态信息进行充分的测试。根据多态路径测试数据生成的要求,提出了一种应用模拟退火—粒子群优化(simulated annealing-particle swarm optimization,SA-PSO)混合算法在多态路径测试中生成测试数据的方法,并通过多态性实例对基本粒子群算法、遗传算法、PSO-GA(particle swarm optimization-genetic algorithm)和SA-PSO算法在相同条件

关 键 词:粒子群优化算法; 模拟退火算法; 多态; 测试路径; 测试数据

Method of generating test data in polymorphism path based on SA-PSO
ZENG Yi,CAI Sen-hu,QIN Zhao-xuan,ZHOU Ji,XU Lin. Method of generating test data in polymorphism path based on SA-PSO[J]. Application Research of Computers, 2011, 28(8): 3034-3036. DOI: 10.3969/j.issn.1001-3695.2011.08.064
Authors:ZENG Yi  CAI Sen-hu  QIN Zhao-xuan  ZHOU Ji  XU Lin
Affiliation:ZENG Yi,CAI Sen-hu,QIN Zhao-xuan,ZHOU Ji,XU Lin(College of Computer Science,Chongqing University,Chongqing 400030,China)
Abstract:At the present, most methods of generating test data do not consider the polymorphism features of object-oriented software, which cannot use the test data to do sufficient testing for polymorphism information of the programs. According to the requirement of generating polymorphism path test data, this paper proposed a method which was used to generate test data in polymorphism path testing by using SA-PSO. In addition, some cases have been done to make comparisons among other optimization algorithms such as basic particle swarm algorithm, genetic algorithm and PSO-GA algorithm. Experiments show that SA-PSO can find out the global optimal solution more quickly with stronger search capabilities. It is proved that SA-PSO algorithm has better performance to generate test data for the test path with polymorphism information.
Keywords:particle swarm optimization algorithm   simulated annealing algorithm   polymorphism   test path   test data
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号