期刊文献+

基于灰狼算术混合优化算法的类集成测试序列生成方法 被引量:2

Hybrid Algorithm of Grey Wolf Optimizer and Arithmetic Optimization Algorithm for Class Integration Test Order Generation
下载PDF
导出
摘要 集成测试是软件测试的重要环节,如何决定类的集成顺序是面向对象集成测试难解决的问题之一。已有研究成果证实了基于搜索的类集成测试序列生成方法的有效性,但存在收敛速度慢、寻优精度低的问题。灰狼优化算法(Grey Wolf Optimizer, GWO)中狼群易聚集在相近的区域,易早熟收敛。算术优化算法(Arithmetic Optimization Algorithm, AOA)是新近提出的元启发式优化算法,具有良好的随机性及分散性。为此,提出了一种灰狼优化算法和算术优化算法的混合优化算法(GWO-AOA)。GWO-AOA保留GWO的位置更新策略,选用群体领导层的中心个体替换AOA的引导个体,以平衡算法的全局探索和局部开发能力,进一步引入随机游动的精英变异机制,提高算法整体的寻优精度。实验结果表明,GWO-AOA相比同类方法能用较短的时间生成测试桩代价较低的类集成测试序列,收敛速度较快。 Integration testing is an essential and important part in software testing.Determining the orders in which classes should be tested during the object oriented integration testing is a very complex problem.The search based approaches have been proved to be efficient in generating class integration test orders(CITO),with the disadvantage of slow convergence speed and low optimization accuracy.In the grey wolf optimizer(GWO)algorithm,wolves are likely to be located in the same or certain regions,thus easily being trapped into local optima.Arithmetic optimization algorithm(AOA)is a new meta heuristic technique with excellent randomness and dispersibility.To improve the performance of CITO generation,a hybrid optimization algorithm of GWO and AOA(GWO-AOA)is proposed,combining the rapid convergence speed of GWO and strong ability to avert local optima stagnation of AOA.In the GWO-AOA,the main hunting steps of GWO is unchanged and the leading individual of AOA is replaced by the center of dominant wolfs,providing a proper balance between exploration and exploitation.In addition,random walk scheme is adopted based on the random local mutation to improve the global search ability.Experimental results indicate that the proposed method can generate promising class integration test orders with less time compared to other comparative methods.
作者 张文宁 周清雷 焦重阳 徐婷 ZHANG Wenning;ZHOU Qinglei;JIAO Chongyang;XU Ting(PLA Strategic Support Force Information Engineering University,Zhengzhou 450000,China;State Key Laboratory of Mathematical Engineering and Advanced Computing,Zhengzhou 450000,China;Software College,Zhongyuan University of Technology,Zhengzhou 450000,China;School of Information Engineering,Zhengzhou University,Zhengzhou 450000,China)
出处 《计算机科学》 CSCD 北大核心 2023年第5期72-81,共10页 Computer Science
基金 国家重点研发计划(2018********01) 河南省科技攻关计划(172102210592,212102210417)。
关键词 集成测试 类集成测试序列 灰狼优化算法 算术优化算法 混合优化 随机游动 Integration testing Class integration test order Grey wolf optimizer Arithmetic optimization algorithm Hybrid optimization Random walk
  • 相关文献

参考文献5

二级参考文献20

  • 1谢冰,张晨东.一种基于面向对象测试模型的测试代码生成方法与工具[J].计算机研究与发展,2008,45(z1):336-340. 被引量:4
  • 2毛澄映,卢炎生.构件软件测试技术研究进展[J].计算机研究与发展,2006,43(8):1375-1382. 被引量:32
  • 3李兵,王浩,李增扬,何克清,余敦辉.基于复杂网络的软件复杂性度量研究[J].电子学报,2006,34(B12):2371-2375. 被引量:38
  • 4Smith M D,Robson D J. A framework for testing object-oriented programs[J]. Journal of Object-Oriented Programming, June 1992:45-53.
  • 5Tai K C,Daniels F J. Test order for inter-class integration testing of object-oriented software[J]. Proceedings of the COMPSAC′ 97-21sT International Computer Software and Applications Conference, 1997:602-607.
  • 6hen Jiun-liang, Wang Feng-jian. Flow analysis of class relationships for object-oriented programs[J]. Journals of Information Science and Engineering, 2000(16):619-647.
  • 7Booch G. Object-oriented analysis and design with applications[Z]. Redwood City: Benjamin/Cummings, 1994.
  • 8Kung D C,Gao J,Hsia P,Toyoshima Y, Chen C. On regress testing of object-oriented programs [J]. Journal of Systems Software, Jan. 1996(32) :21-40.
  • 9Labiche Y, Thevenod-Fosse P, Waeselynck H, Durand M H.Testing levels for object-oriented software [C]. Proc. 22nd IEEE International Conference on Software Engineering(ICSE′2000), Limerick(Ireland), June 2000:136-145.
  • 10Lionel C. Briand, Yvan Labiche, YiHong Wang. Revisiting strategies for ordering class integration testing in the presence of dependency cycles[J]. IEEE, 2001.

共引文献33

同被引文献27

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部