计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (11): 65-70.

• 研发、设计、测试 • 上一篇    下一篇

组合测试中用例集的选择策略

廖剑锋1,蔡贤涛2,3   

  1. 1.华中科技大学 文华学院,武汉 430074
    2.湖北省软件评测中心,武汉 430072
    3.武汉大学 计算机学院,武汉 430072
  • 出版日期:2012-04-11 发布日期:2012-04-16

Selection strategies on use case suites of pairwise combinatorial testing

LIAO Jianfeng1, CAI Xiantao2,3   

  1. 1.School of Wenhua, Huazhong University of Science & Technology, Wuhan 430074, China
    2.Hubei Software Testing Center, Wuhan 430072, China
    3.School of Computer, Wuhan University, Wuhan 430072, China
  • Online:2012-04-11 Published:2012-04-16

摘要: 组合测试用例众多,软件测试人员都希望用最少的测试用例集达到最好的测试覆盖。研究了组合测试的常规算法,比较了配对测试法和正交表测试法的特点,并借助于PICT测试工具重点研究了2因子模型的配对组合测试,在此基础上,总结出在组合测试中测试用例集的选择策略,进而达到满意的测试覆盖。

关键词: 组合测试, 配对测试, 正交表, 用例集, 测试覆盖

Abstract: Combinatorial testing has lots of testing use cases, but software testers hope to get the best testing coverage with the least testing use case suites. The article researches usual algorithms of the combinatorial testing and compares the pairwise testing’s trait with that of orthogonal array testing. It focuses on use case suites of 2-way pairwise testing by using PICT testing tool. On this basis, it concludes some selection strategies on use case suites of combinatorial testing, so the testing gets satisfied testing coverage.

Key words: combinatorial testing, pairwise testing, orthogonal array, use case suite, testing coverage