期刊文献+

基于蚁群算法的逐参数扩展组合测试

Combinatorial Testing of In-Parameter-Order Based on Ant-Colony-Algorithm
下载PDF
导出
摘要 组合测试是一种高效的测试手段,但测试用例集的生成是一个NP完全问题。逐参数扩展的策略(In-Parameter-Order,IPO)是每次加入一个参数,将问题分解为水平(参数)扩展和垂直(测试用例)扩展,其水平和垂直扩展都使用贪心算法。针对IPO算法扩展时贪心算法容易陷入局部次优解的问题,提出一种基于蚁群算法的逐参数扩展组合测试用例生成算法,该算法在水平扩展中引入蚁群算法替换原有的贪心算法,有效提高全局搜索能力,避免陷入局部次优解。实验结果表明:该算法与IPO算法相比,生成的测试用例集的规模较小。 Combinatorial testing is a very effective means to software testing, but the test cases genera- tion is a NP-complete problem. In-Parameter-Order strategy is one of the state-of-art methods of combi- natorial testing. It divides the problem as two parts: horizontal (parameters) extension and vertical ( test cases) extension which are all solved by greedy algorithm. Aiming at solving the problem of local solution introduced by greedy strategy of IPO, this paper presents an algorithm which introduces ant-col- ony-algorithm to horizontal extension of IPO. It enhances the global search ability avoiding to running in- to local solution. As shown by experiments, the size of test cases generated by the proposed method is smaller than IPO.
出处 《西南科技大学学报》 CAS 2013年第3期61-65,共5页 Journal of Southwest University of Science and Technology
关键词 组合测试 蚁群算法 测试用例 逐参数扩展 Combinatorial Testing Ant-Colony-Algorithm Test Cases In-Parameter-Order
  • 相关文献

参考文献9

  • 1KUHN D R, WALLACE D R, GALLO A M. Software fault interactions and implications forsoftware testing [ J ]. IEEE Trans. on Software Engineering, 2004, 30 ( 6 ) : 418 -421. 被引量:1
  • 2KUHN R, KACKER R, LEI Y, et al. Combinatorial software testing[J]. IEEE Computer, 2009, 42(8): 94 - 96. 被引量:1
  • 3严俊,张健.组合测试:原理与方法[J].软件学报,2009,20(6):1393-1405. 被引量:58
  • 4COHEN D M, DALAL S R, FREDMAN M L, et al. The AETG system: An approach to testing based on combina- torial design[ J]. IEEE Trans. on Software Engineering, 1997, 23(7) :437 -443. 被引量:1
  • 5LEI Y, KACKER R, KUHN R, etc. IPOG/IPOG - D: Efficient test generation for muhi-way combinatorial tes- ting [ J ]. Journal of Software Testing, Verification and Reliability, 2008, 18(3): 125-148. 被引量:1
  • 6COHEN M B, GIBBONS P B, MUGRIDGE W B, et al. Constructing Test Suites for Interaction Testing[A]. In: DILLON L, TICHY W. Proc. of the Intl Conf. on Soft- ware Engineering ( ICSE ) [ C ]. Loa Alamitos : IEEE Press, 2003.38 -48. 被引量:1
  • 7NURMELA K J. Upper bounds for covering arrays by ta- bu search[ J]. Discrete Applied Mathematics, 2004, 138 (9) :143 - 152. 被引量:1
  • 8SHIBA T, TSUCHIYA T, KIKUNO T. Using Artificial Life Techniques to Generate Test Cases for Combinatorial Testing[A]. In: WONG W E, KANOUN K. Proc. of the IEEE Annual Int'l Computer Software and Applica- tions Conf. (COMPSAC) [ C]. Alamitos: IEEE Press, 2004. 72 - 77. 被引量:1
  • 9DUNIETZ I S, MALLOWS C L, IANNINO A. Applying design of Experiments to Software Testing [ C ]. Proc. 19th Int'l Conf. Software Eng., Boston, MA, 1997. 205 -215. 被引量:1

二级参考文献4

共引文献57

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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