光电技术应用, 2013, 28 (3): 77, 网络出版: 2013-06-07
正交试验在软件测试用例设计中的应用
Application of Orthogonal Experiment in Software Test Case Design
摘要
由于软件规模越来越大, 软件测试要达到一定的测试覆盖率, 生成的测试用例数目相当惊人。为了合理分配有限的测试资源, 提出了一种基于正交试验的软件测试用例生成方法。简要介绍正交试验的基本概念, 结合正交法的特点阐述其在设计软件测试用例方面的适用性及使用过程, 最后给出实例。结果表明, 生成测试用例数量较少, 且测试效果能够得到保证。
Abstract
Because the scale of software is getting larger and larger, a certain test coverage rate shall be got during software test and the quantities of generated test cases are great. In order to assign limited test resource reasonably, a case generation method for software test based on orthogonal experiment is proposed. Basic conceptions of orthogonal experiment are introduced. Incorporating with the characteristics of orthogonal method, applicability and operation process of orthogonal experiment in the area of design software test case are discussed. And an example is given finally. Experimental results show that fewer quantities of test cases are generated and good test effect is got.
何苗, 朱有德. 正交试验在软件测试用例设计中的应用[J]. 光电技术应用, 2013, 28(3): 77. HE Miao, ZHU You-de. Application of Orthogonal Experiment in Software Test Case Design[J]. Electro-Optic Technology Application, 2013, 28(3): 77.