首页 | 官方网站   微博 | 高级检索  
     

一种基于正交表的功能组合测试设计方法
引用本文:夏镇,饶若楠.一种基于正交表的功能组合测试设计方法[J].微型电脑应用,2007,23(3):3-6,9.
作者姓名:夏镇  饶若楠
作者单位:1. 上海交通大学计算机科学与工程系,上海,200030
2. 上海交通大学计算机科学与工程系,上海 200030
摘    要:软件测试在目前的软件开发过程中的地位日益重要。特别是目前的软件功能愈来愈多,必须保证各功能组合之间不产生冲突。如果以无条件地测试所有功能组合,则测试项目数会呈指数级增长而使得实际测试不可能。为了抑制这种组合的发散,利用正交表来设计测试是一种有效的方法。本文阐述了一种基于正交表的功能组合测试设计方法和应用,并开发了相应的测试用例生成工具,基于正交表原理,对测试对象程序的各功能项进行组合,确保用较少的测试用例达到较大的测试覆盖率。实验表明,与传统手工测试用例设计方法相比,利用该方法生成的测试用例覆盖率提高2倍,Bug发现率增加3倍,测试用例设计工时压缩为1/6。

关 键 词:测试  正交表  功能组合测试  测试用例
文章编号:1007-757X(2007)03-0003-04
收稿时间:2006-12-08
修稿时间:2006-12-08

A Designing Method for Function Combination Testing Based on Orthogonal Chart
XIA Zhen,RAO Ruo-nan.A Designing Method for Function Combination Testing Based on Orthogonal Chart[J].Microcomputer Applications,2007,23(3):3-6,9.
Authors:XIA Zhen  RAO Ruo-nan
Abstract:Software testing has become increasingly important in software development.Its importance has been extremely un- derlined today when software often features with multiple functions and a test is necessary to examine whether these functions could co-exist harmoniously.However,tests on any software function combinations are unpractical if no pre-condition is given beforehand as they would lead to testing staffs exhausted by endless testing projects.Orthogonal chart is an effective way in helping testing staffs to get rid of unnecessary tests due to unscientific project designs.In the paper,the author depicts in details a new testing method on software function combination based on the theory of orthogonal chart and its adoption in practice.Fur- thermore,the author introduces a tool especially on creating test cases accordingly.With the adoption of the new testing method,testing staffs could scientifically combine functions of test targets and make sure they could test as many functions of target software as possible by using just a few testing cases.It has been proved that,compared with traditional testing methods, the new method based on orthogonal chart could double the coverage of test cases on targeted software,detect bugs by three times and shorten time on test case designing by one sixth.
Keywords:Test  Orthogonal chart  Function combination test  Test cases
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号