期刊文献+

成对组合测试数据的整体优化和生成方法 被引量:3

Pairwise combinatorial testing suite global optimization and generation method
在线阅读 下载PDF
导出
摘要 测试数据生成是组合测试的一个关键问题,但是组合测试用例集的构造问题的复杂度是NP完全的。提出了一种成对组合测试用例集整体优化和生成的方法。该方法通过编码机制将测试用例数据的生成问题转换为一个基于二进制编码的最优化问题,同时使用遗传算法对此编码空间进行搜索,并对所发现的最优个体进行解码,构造产生最佳测试用例集。实验结果表明,该方法简单高效,且具有解的质量高、时间消耗小的特点。 Test data generation is a key component of combination testing.However,the complexity of test case generation problem for combinatorial testing is NP-complete.A kind of optimal test suite generation mechanism is proposed.It makes use of the encoding mechanism to map the combinatorial testing problem domain to a binary code space.And then a Genetic Algorithm(GA)is used to search this binary code space to find the optimal individual and generate the optimal test suite based on a decoding mechanism.Experimental results show this mechanism is simple and effective,and it has the characteristics of less producing test data and time consumption.
出处 《计算机工程与应用》 CSCD 2012年第11期32-36,共5页 Computer Engineering and Applications
基金 国家自然科学基金(No.61050003 No.61105064) 陕西省自然科学基金(No.2011JM8007) 陕西省教育厅专项科研计划(No.2010JK837)
关键词 软件测试 成对组合测试 测试用例生成 遗传算法 software testing pairwise combinatorial testing test case generation genetic algorithm
  • 相关文献

参考文献14

  • 1Dunietz I S,Ehrlich W K,Szablak B D,et al.Applyingdesign of experiments to software testing:experience re-port[C]//Proceedings of the 19th International Confer-ence on Software Engineering,Boston,Massachusetts,USA,1997:205-215.
  • 2Kuhn D R,Reilly M J.An investigation of the applica-bility of design of experiments to software testing[C]//Proceedings of the 27th NASA/IEEE Software Engineer-ing Workshop,NASA Goddard Space Flight Center,2002:91-95.
  • 3Cohen M B,Gibbons P B,Mugridge W B,et al.Con-structing test suites for interaction testing[C]//Proc ofthe Int’l Conf on Software Engineering(ICSE).LoaAlamitos:IEEE Press,2003:38-48.
  • 4严俊,张健.组合测试:原理与方法[J].软件学报,2009,20(6):1393-1405. 被引量:59
  • 5Lei Y,Tai K C.In_Parameter_Oder:a test generation strategyfor pairwise testing,Technical Report TR-2001-03[R].Ra-leigh,North Carolina:Department of Computer Science,North Carolina State University,2001.
  • 6Yan J,Zhang J.A backtracking search tool for constructingcombinatorial test suites[J].The Journal of Systems andSoftware,2008,81(10):1681-1693.
  • 7Hartman A,Raskin L.Problems and algorithms for coveringarrays[J].Discrete Mathematics,2004,284:149-156.
  • 8Shiba T,Tsuchiya T,Kikuno T.Using artificial life tech-niques to generate test cases for combinatorial testing[C]//Proc of the IEEE Annual Int’l Computer Software andApplications Conf(COMPSAC).Alamitos:IEEE Press,2004:72-77.
  • 9查日军,张德平,聂长海,徐宝文.组合测试数据生成的交叉熵与粒子群算法及比较[J].计算机学报,2010,33(10):1896-1908. 被引量:25
  • 10Yan J,Zhang J.Backtracking algorithms and search heu-ristics to generate test suites for combinatorial testing[C]//Proc of the IEEE Annual Int’l Computer Softwareand Applications Conf(COMPSAC).Los Alamitos:IEEE Press,2006:385-394.

二级参考文献25

  • 1徐宝文,聂长海,史亮,陈火旺.一种基于组合测试的软件故障调试方法[J].计算机学报,2006,29(1):132-138. 被引量:39
  • 2聂长海,徐宝文,史亮.一种新的二水平多因素系统两两组合覆盖测试数据生成算法[J].计算机学报,2006,29(6):841-848. 被引量:21
  • 3史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31
  • 4王子元,聂长海,徐宝文,史亮.相邻因素组合测试用例集的最优生成方法[J].计算机学报,2007,30(2):200-211. 被引量:25
  • 5Kennedy J, Eberhart R. Particle swarm optimization//Proceedings of the IEEE Conference on Neural Networks. Perth, Australia, 1995, 4:1942-1948.
  • 6Kler M, Kennedy J. The particle swarm-Explosion, stabili ty, and convergence in a multidimensional complex space. IEEE Transactions on Evolutionary Computer, 2002, 6(1) 58-73.
  • 7Cowlinga P I, Keuthenb R. Embedded local search approaches for routing optimization. Computers & Operations Research, 2005, 32(3): 465-490.
  • 8Li L J, Huang Z B, Liu F, Wu Q H. A heuristic particle swarm optimizer for optimization of pin connected structures. Computers and Structures, 2007, 85(4)340-349.
  • 9Shiba T, Tsuchiya T, Kikuno T. Using artificial life techniques to generate test cases for combinatorial testing//Proceedings of the 28th Annual International Computer Software and Applications Conference (COMPSAC'04). Hong Kong, China, 2004, 1: 72-77.
  • 10Dunietz I S, Ehrlich W K, Szablak B D, Mallows C L, Lannino A. Applying design of experiments to software testing:Experience report//Proceedings of the 19th International Conference on Software Engineering. Boston, Massachusetts, USA, 1997:205-215.

共引文献78

同被引文献20

  • 1沈默,刘强,童自力.API测试的二元组合测试算法研究与实现[J].计算机工程与应用,2005,41(26):48-50. 被引量:2
  • 2王子元,聂长海,徐宝文,史亮.相邻因素组合测试用例集的最优生成方法[J].计算机学报,2007,30(2):200-211. 被引量:25
  • 3苗扬.软件可靠性测试与评估方法的改进[D].上海:上海交通大学,2009.
  • 4Tai K C, Lei Y. A test generation strategy for pairwise testing [ J ]. IEEE transactions on software engineering,2002,28 ( 1 ) : 109-111.
  • 5Kuhn D R, Reilly M J. An investigation of the applicability of design of experiments to software testing[ C ]//Proceedings of the 27th NASA/IEEE software engineering workshop. [ s. 1. ] : NASA Goddard Space Flight Center,2002:91-95.
  • 6Cohen M B,Colbouns C J, Gibbons P B, et al. Constructing test suites for interaction testing [ C ]//Proceedings of the in- ternational conference on software engineering. Portland, OR: [ s. n. ] ,2003:38-48.
  • 7Kobayashi N, Tsuchiya T, Kikuno T. A new method for con- structing pairwise covering designs for software testing[ J]. In- formation processing letters,2002,81 (2) :85-91.
  • 8Colboum C J,Martirosyan S S,Mullen G L,et al. Products of mixed coveting arrays of strength two[ J]. Journal of combina- torial designs,2005,14(2) :124-138.
  • 9Kuhn D R,Wallace D R. Software fault interaction and impli- cation for software testing [ J ]. IEEE transactions on software engineering,2004,30 (6) : 1-4.
  • 10浦云明.一种平衡结构性测试和功能性测试的方法[J].计算机应用,2008,28(4):1023-1025. 被引量:1

引证文献3

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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