nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
2007, 03, No.167 3-6+9+4
一种基于正交表的功能组合测试设计方法
基金项目(Foundation):
邮箱(Email):
DOI:
发布时间: 2007-03-20
出版时间: 2007-03-20
移动端阅读
摘要:

软件测试在目前的软件开发过程中的地位日益重要。特别是目前的软件功能愈来愈多,必须保证各功能组合之间不产生冲突。如果以无条件地测试所有功能组合,则测试项目数会呈指数级增长而使得实际测试不可能。为了抑制这种组合的发散,利用正交表来设计测试是一种有效的方法。本文阐述了一种基于正交表的功能组合测试设计方法和应用,并开发了相应的测试用例生成工具,基于正交表原理,对测试对象程序的各功能项进行组合,确保用较少的测试用例达到较大的测试覆盖率。实验表明,与传统手工测试用例设计方法相比,利用该方法生成的测试用例覆盖率提高2倍,Bug发现率增加3倍,测试用例设计工时压缩为1/6。

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.

参考文献

[1]陈松乔,任胜兵,王国军.著.现代软件工程[M].清华大学出版社

[2]谢仕义.软件测试方法研究[J].电脑开发与应用.2001,3

[3]聂长海,徐宝文.基于接口参数的黑箱测试用例自动生成算法[J].计算机学报,2004,27

[4]Testing Computer Software,Second Edition,计算机软件测试(第2版)[M].(美)Cem Kaner,Jack Falk,Hung QuocN- guyen著,王峰,陈杰,喻琳,译.机械工业出版社

[5]田口玄一.实验计划法[M].日本丸善出版社

[6]山本训稔、秋山浩一,利用正交表进行软件测试—HAYST方法[M].富士施乐商品评价部测试中心

[7]D.M.Cohen,An Approach to Testing Based Combinato- rial Design[J/OL].IEEE,Vol.23,No.7,1997.http:// www.argreenhouse,com/papers/gcp/AETGieee97,shtml

基本信息:

中图分类号:TP311.52

引用信息:

[1]夏镇,饶若楠.一种基于正交表的功能组合测试设计方法[J].微型电脑应用,2007,No.167(03):3-6+9+4.

发布时间:

2007-03-20

出版时间:

2007-03-20

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文