作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (21): 51-53,7. doi: 10.3969/j.issn.1000-3428.2008.21.019

• 软件技术与数据库 • 上一篇    下一篇

覆盖矩阵在参数组合配对测试中的应用

张 丹,高建华   

  1. (上海师范大学计算机科学与技术系,上海 200234)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-11-05 发布日期:2008-11-05

Application of Covering Array in Parameter Combination Pair-wise Test

ZHANG Dan, GAO Jian-hua   

  1. (Department of Computer Science and Technology, Shanghai Normal University, Shanghai 200234)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-11-05 Published:2008-11-05

摘要: 在实际测试中,用穷尽法测试全部测试案例会造成测试集爆炸、效率低下及资源浪费,正交矩阵虽能生成较优测试集,但其应用范围极为受限。该文提出一种覆盖矩阵构造方法解决上述问题,该矩阵以正交矩阵及其派生矩阵为基础构造,可以减少测试案例集,扩大其应用范围,提高测试效率。用.net工具实现该算法,证明其能够有效、快速地找到一个较优测试集。

关键词: 测试案例集合, 覆盖矩阵, 参数配对组合

Abstract: In the real test, using exhaustive test method will cause explosion of test case sets, low efficiency and resources wasting. Although orthogonal array can produce better test case set, its range of application is greatly restricted. This paper proposes a method named covering array to solve such problems. It takes orthogonal array and derives arrays from orthogonal array to construct covering array, which can reduce the number of testing cases, improves the efficiency of testing and increase its range of application. The algorithm is realized with .net tool, and it is proved valid and can find a more excellent test collection quickly.

Key words: test case set, covering array, parameter pair-wise combination

中图分类号: