期刊文献+

带参数约束的两两组合测试用例集生成方法 被引量:1

Generation Method of Pairwises Combinatorial Test Case Set with Parameter Constraint
在线阅读 下载PDF
导出
摘要 大多数待测软件系统的参数间存在约束关系,如果不考虑这些约束,会使测试用例集中的某些组合无效。为此,提出一种带参数约束的两两组合测试用例集生成方法。在采用回溯算法对解空间树进行遍历的同时,利用参数间的约束关系对树的枝叶进行裁剪,避免产生无效的测试用例。使用贪心算法补充生成测试用例,以满足两两组合覆盖标准。实验结果表明,该方法能减少测试用例生成数量,提高测试效率。 There exist constraint relations among parameters for most of the software system under test.If these relations are not taken into account,some of the combinations in the test suite make no sense.Therefore this paper proposes a combination test method in presence of parameter constraints.The method uses backtracking algorithm to traverse the tree and meanwhile the branches of solution space tree are cut using the constraint relations among parameters to avoid invalid test cases.Then some test data is added into the test case by a greedy algorithm to cover all the uncovered pairs.Experimental result shows that this method can reduce the generation number of test cases,and improve the efficiency of test.
作者 李龙澍 张薇
出处 《计算机工程》 CAS CSCD 2012年第11期53-55,共3页 Computer Engineering
基金 安徽省自然科学基金资助项目(090412054) 安徽省重大科技专项基金资助项目(08010201002)
关键词 组合测试 解空间树 参数约束 测试集 测试用例 combinatorial test Solution Space Tree(SST) parameter constraint test set test case
作者简介 李龙澍(1956-),男,教授、博士生导师,主研方向:知识工程,软件分析与测试;张薇,硕士研究生,E-mail:zhangwei8861@163.com。
  • 相关文献

参考文献8

  • 1Cohen M B, Dwyer M B, Shi Jiangfan. Constructing Interaction Test Suites for Highly-configurable Systems in the Presence of Constraints: A Greedy Approach[J]. IEEE Transactions on Software Engineering, 2008, 34(5): 633-650.
  • 2聂长海,徐宝文,史亮.一种新的二水平多因素系统两两组合覆盖测试数据生成算法[J].计算机学报,2006,29(6):841-848. 被引量:21
  • 3Cohen D M, Dalal S R, Fredman M L, et al. The AETG System: An Approach to Test Based on Combinatorial Design[J]. IEEE Transactions on Software Engineering, 1997, 23(7): 437-444.
  • 4Cohen D M, Dalai S R, Parelius ,I, et al. The Combinatorial Design Approach to Automatic Test Generation[J]. IEEE Software, 1996, 13(5): 83-87.
  • 5Lei Y, Tai K C. In-parameter-order: A Test Generation Strategy for Pairwise Testing[D]. Raleigh, USA: North Carolina State University, 2001.
  • 6Tai K C, Lei Y. A Test Generation Strategy for Pairwise Testing[J]. IEEE Transactions on Software Engineering, 2002, 28(1): 109-111.
  • 7Williams A W, Probert R L. A Practical Strategy for Testing Pair-wise Coverage of Network Interfaces[C]//Proc. of the 7th International Symposium on Software Reliability Engineering. [S. L]: IEEE Press, 1997: 246-254.
  • 8史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31

二级参考文献38

  • 1Kuhn D.R.,Gallo A.M..Software fault interactions and implications for software testing.IEEE Transactions on Software Engineering,2004,30(6):418~421
  • 2Kuhn D.R.,Reilly M.J..An investigation of the applicability of design of experiments to software testing.In:Proceedings of the 27th NASA/IEEE Software Engineering Workshop,NASA Goddard Space Flight Center,2002,4~6
  • 3DeCock et al.On finding mixed orthogonal arrays of strength 2 with many 2-level factors.Statistics & Probability Letters,2000,50:383~388
  • 4Hedayat A.S.et al.Orthogonal Arrays:Theory and Applications.New York:Springer-Verlag,1999
  • 5Kobayashi N.,Tsuchiya T.,Kikuno T..A new method for constructing pair-wise covering designs for software testing.Information Processing Letters,2002,81(2):85~91
  • 6Williams A.W..Determination of test configurations for pairwise interaction coverage.In:Proceedings of the 13th International Conference on the Testing of Communicating Systems(TestCom 2000),Ottawa Canada,2000,59~74
  • 7Williams A.W..Software component interaction testing:Coyerage measurement and generation of configurations[Ph.D.dissertation].Ottawa-Carleton Institute for Computer Science,School of Information Technology and Engineering,University of Ottawa,Canada,2002
  • 8Cohen D.M.etal.The AETG system:An approach to testing based on combinatorial design.IEEE Transactions on Software Engineering,1997,23(7):437~444
  • 9Cohen D.M.et al.The combinatorial design approach to automatic test generation.IEEE Software,1996,13(5):83~87
  • 10Cohen D.M.et al.New techniques for designing qualitatively independent systems.The Journal of Combinational Designs,1998,6(6):411~416

共引文献39

同被引文献6

引证文献1

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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