正交试验在手机软件测试用例生成中的应用
he application of Orthogonal method on test case generation in Mobile phone
软件测试在软件的整个开发过程中占有非常重要的地位,是保证软件质量、提高软件可靠性的关键。在手机软件测试中,要想达到一定的测试覆盖要求,生成的测试用例数目都可能非常惊人。为了较快地产生高质量的测试数据,我们提出了一种基于正交试验设计法的软件测试用例生成技术。本文介绍了正交法的基本概念,详细阐述了在因素耦合与非耦合的情况下利用正交法生成软件测试用例设计的步骤及其性能分析,并将其应用到实际的手机测试用例生成中,最后我们用软件实现了测试用例的生成过程。结果表明,正交试验法能用较少的测试用例达到较高的两两覆盖率,加上软件实现,使得整个生成过程高效准确。
Software testing, which takes all-important position during the whole process of software development, is the key point to assure the software’s quality and enhance its reliability. In phone’s software testing, the whole number of test cases will become very large due to coverage requirement. So in order to generate the test cases with high quality more quickly, we introduce the technology of test case generation which based on orthogonal array. In this paper, we introduce the foundation of orthogonal array, expatiate the steps to generate software test case under condition of copula and non-copula among factors and its performance analysis, and apply it to actual mobile phone’s software testing, finally we use C Sharp to realize the whole generation. It is demonstrated that orthogonal array could use less test cases to realize better pair-wise coverage, with software realization, the whole generation is effective and accurate.
王玲玲、苏建元
电子技术应用
测试用例正交试验软件实现
test caseorthogonal methodsoftware realization
王玲玲,苏建元.正交试验在手机软件测试用例生成中的应用[EB/OL].(2009-02-23)[2025-08-18].http://www.paper.edu.cn/releasepaper/content/200902-1130.点此复制
评论