期刊文献+

快速生成两两组合测试用例集算法 被引量:1

A new speedy generation algorithm for pairwise testing
在线阅读 下载PDF
导出
摘要 研究了二元待测系统的最优二维覆盖表的构造,在此基础上提出了快速生成一般待测软件系统的二维覆盖表的算法.该算法首先针对二元待测系统生成相应的基本块B(0,1)和约简块R(0,1),然后对任意的取值组合对(a,b),通过替换生成相应的基本块B(a,b)或约简块R(a,b),最后累加所有的块得到二维覆盖表.因此当待测系统是二元时该算法能生成最优的覆盖表,并且在各因素的可取值数目较小时算法的效果较好.设待测系统的因素数目为k,该算法的时间复杂性为O(klog k),因此对于大规模的待测系统,算法生成测试用例集的速度很快.算法的分层性有利于以后的错误定位工作.另外,给出了两两覆盖表的数学构造性上界,其上界是关于因素数对数阶增长的.最后通过实验验证了该算法的有效性. The structure of the optimal binary pairwise covering arrays is studied,and the algorithm to rapidly generate the pairwise test data of a general software is proposed.The algorithm first generates the basic block B(0,1) and the reduced block R(0,1),then generates the corresponding block B(a,b) or R(a,b) by substitution to cover each value pair(a,b),and finally obtains the pairwise covering array by vertically concatenating these blocks.So the obtained covering array is optimal when the software under test is binary,and the covering array is near optimal when each factor has small size set of discrete valid value.The time complexity of the algorithm is O(klog k),where k is the number of factors of a system,so the test suite can be rapidly generated using the algorithm in large-scale software systems.The hierarchical property is beneficial to the successive fault diagnostic stage.A constructive upper bound can be obtained that grows as O(log k).The experimental results show that the algorithm is effective.
出处 《东南大学学报(自然科学版)》 EI CAS CSCD 北大核心 2011年第5期943-948,共6页 Journal of Southeast University:Natural Science Edition
关键词 组合测试 两两组合测试 覆盖表 测试用例生成 combinatorial testing pairwise testing covering array generation of test suite
  • 相关文献

参考文献10

  • 1Lei Y, Tai K C. In_ Parameter Oder: a test generation strategy for pairwise testing, TR-2001-03[R]. Raleigh, NC, USA: Department of Computer Science, North Carolina State University, 2001.
  • 2Cohen D M, Dalal S R, Fredman M L, et al. The AETG system: an approach to testing based on combi- natorial design[J]. IEEE Transactions on Software Engineering, 1997, 23(7): 437-444.
  • 3Kobayashi N, Tsuchiya T, Kikuno T. A new method for constructing pair-wise covering designs for software testing [ J ]. Information Processing Letters, 2002, 81 (2) :85 -91.
  • 4Williams A W. Software component interaction testing: coverage measurement and generation of configurations [D ]. Ottawa, Ontario, Canada : Ottawa-Carleton Institute for Computer Science, School of Information Technology and Engineering, University of Ottawa, 2002.
  • 5史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31
  • 6查日军,张德平,聂长海,徐宝文.组合测试数据生成的交叉熵与粒子群算法及比较[J].计算机学报,2010,33(10):1896-1908. 被引量:25
  • 7Yan J,Zhang J. A backtracking search tool for constructing combinatorial test suites [J].The Journal of Systems and Software, 2008, 81 ( 10 ) : 1681 - 1693.
  • 8Lei Y, Kacker R, Kuhn D R, et al. IPOG-D: efficient test generation for multi-way combinatorial testing [J]. Software Testing, Verification and Reliability, 2008, 18 (3) : 125 -148.
  • 9Cheng Xiang, Gu Qing, Li Ang, et al. Variable strength interaction testing with an ant colony system approach[C]//16th Asia-Pacific Software Engineering Conference. Batu Ferringhi, Penang, Malaysia, 2009 : 160 - 167.
  • 10Hartman A. Software and hardware testing using combinatorial covering suites [ C ]//Interdisciplinary Applications of Graph Theory, Combinatorics, and Algorithms. Norwell, MA, USA, 2005: 237- 266.

二级参考文献44

  • 1聂长海,徐宝文,史亮.一种新的二水平多因素系统两两组合覆盖测试数据生成算法[J].计算机学报,2006,29(6):841-848. 被引量:21
  • 2史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31
  • 3王子元,聂长海,徐宝文,史亮.相邻因素组合测试用例集的最优生成方法[J].计算机学报,2007,30(2):200-211. 被引量:25
  • 4Kennedy J, Eberhart R. Particle swarm optimization//Proceedings of the IEEE Conference on Neural Networks. Perth, Australia, 1995, 4:1942-1948.
  • 5Kler 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.
  • 6Cowlinga P I, Keuthenb R. Embedded local search approaches for routing optimization. Computers & Operations Research, 2005, 32(3): 465-490.
  • 7Li 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.
  • 8Shiba 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.
  • 9Dunietz 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.
  • 10Kuhn D R, Reilly M J. An investigation of the applicability of design of experiments to software testing//Proceedings of the 27th NASA/IEEE Software Engineering Workshop. NASA Goddard Space Flight Center, 2002.91-95.

共引文献51

同被引文献14

  • 1Ammann P,Of futt J. Introduction to Software Testing[M].Cambridge:Cambridge University Press,2008.
  • 2Mandl R. Orthogonal Lat in Squares:An Application of Experiment al Design to Compiler Testing[J].Communicat ion s of the ACM,1985,(10):1054-1058.
  • 3Bohachevsky. Generalized simulated annealing for function optimization[J].Technomertics,1986,(03):209.
  • 4Arts E,Korst J. Simulated annealing and boltzmann machine[M].New York:John Wiley and Sons,Inc,1989.
  • 5Goffe W L,Ferrier G D,Rogers J. Simulated annealing:An initial application in econometrics[J].Computational Economics,1992,(02):133.
  • 6Hedayat A,Sloane N,Stufken J. Orth ogon al Arrays:Theory and Applicat ions[M].Springer-Verlag,1999.
  • 7Sloane N. Covering arrays and intersecting codes[J].Journal of Combinatorial Designs,1993,(01):51-63.
  • 8Yu Lei,Tai K C. In-Parameter-Order:A Test Generation Strategy for Pairwise Testing[A].1998.254-261.
  • 9王晓东.计算机算法设计与分析[M]北京:电子工业出版社,2006.
  • 10Sherwood G. Effective Testing of Fact or Combin at ions[A].1994.

引证文献1

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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