期刊文献+

基于梦境粒子群优化的类集成测试序列生成方法 被引量:3

Approach for Generating Class Integration Test Sequence Based on Dream Particle Swarm Optimization Algorithm
下载PDF
导出
摘要 类集成测试序列的确定是面向对象类集成测试技术中的一个重要课题。合理的类集成测试序列可以降低为其构造测试桩的总体复杂度,从而减小测试代价。针对粒子群优化算法容易早熟的缺陷,文中提出一种基于梦境粒子群优化算法的类集成测试序列生成方法。首先把每个类集成测试序列映射为一维空间中的一个粒子,然后将粒子看作有做梦能力的个体。每个迭代周期分为白天和夜间两个阶段,在白天阶段粒子正常移动,而在夜间阶段粒子根据各自的做梦能力扭曲当前位置。如此,粒子有机会在当前位置附近进行搜索,使得算法减缓收敛速度,避免过早陷入局部最优。实验结果表明,多数情况下该方法可以得到测试代价更小的类集成测试序列。 Determination of class integration test sequence is an important topic in object-oriented software integration testing.Reasonable class integration test sequence can reduce the overall complexity of test stub,and then reduce test cost.For particle swarm optimization algorithm,it is easy to be precocious.So a class integration test sequence determination method based on dream particle swarm optimization algorithm was proposed in this paper.First,each sequence is taken as a particle in one dimensional space.Then,every particle is considered to be a dreamer.Each iteration cycle is divided into two phases:day and night.In the daytime,particles move to new locations,and during the night,they contort the locations gained at day phase according to dreaming ability.In this way,particle has the opportunity to search near the current location,so that the algorithm can converge slowly and avoid falling into local optimum too early.The experimental results show that the proposed approach takes a lower test cost in most cases.
作者 张悦宁 姜淑娟 张艳梅 ZHANG Yue-ning;JIANG Shu-juan;ZHANG Yan-mei(Mine Digitization Engineering Research Center of the Ministry of Education,School of Computer Science and Technology, China University of Mining and Technology,Xuzhou,Jiangsu 221116,China;Guangxi Key Laboratory of Trusted Software,Guilin University of Electronic Technology,Guilin,Guangxi 541004,China)
出处 《计算机科学》 CSCD 北大核心 2019年第2期159-165,共7页 Computer Science
基金 国家自然科学基金(61673384 61502497) 广西可信软件重点实验室开放课题(kx201530)资助
关键词 测试序列 集成测试 测试代价 梦境粒子群优化算法 局部最优 Test sequence Integration testing Test cost Dream particle swarm optimization algorithm Local optimum
  • 相关文献

参考文献4

二级参考文献39

  • 1谢冰,张晨东.一种基于面向对象测试模型的测试代码生成方法与工具[J].计算机研究与发展,2008,45(z1):336-340. 被引量:4
  • 2Abdurazik A, Offutt A J. Using coupling-based weights for the class integration and test order problem. The Computer Journal, 2009, 52(5): 557-570.
  • 3Briand L C, Labiche Y, Wang Y. An investigation of graphbased class integration test order strategies. IEEE Transaction on Software Engineering, 2003, 29(7): 594-607.
  • 4Hanh V L, Akif K, Traon Y L, Jezequel J M. Selecting an efficient oo integration testing strategy: An experimental comparison of actual strategies//Proceedings of the 15th European Conference on Object-Oriented Programming. Budapest, Hungary, LNCS 2072. Springer-Verlag, 2001: 381- 401.
  • 5Mao C, Lu Y. Aicto: An improved algorithm for planning inter-class test order//Proceedings of the 5th International Conference on Computer and Information Technology. Shanghai, China, 2005:927-931.
  • 6Tai K C, Daniels F. Test order for inter-class integration testing of object-oriented software//Proceedings of the 21st International Computer Software and Applications Conference. Washington, DC, USA, 1997:602-607.
  • 7Le Traon Y, Jeron T, Jezequel J-M, Morel P. Efficient object-oriented integration and regression testing. IEEE Transactions on Reliability, 2000, 49(1) : 12-25.
  • 8Wang Z, Li B. Using coupling measure technique and random iterative algorithm for inter-class integration test order problem//Proeeedings of the 34th Annual IEEE Computer Software and Applications Conference Workshops. Seoul, Korea, 2010:329-334.
  • 9Briand L, Feng J, Labiche Y. Experimenting with genetic algorithms to devise optimal integration test orders. Carleton University, Technical Report SCE-02-03, 2002.
  • 10Tarjan R. Depth-first search and linear graph algorithms. SIAM Journal on Computing, 1972, 1(2) : 146-160.

共引文献25

同被引文献17

引证文献3

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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