首页 | 本学科首页   官方微博 | 高级检索  
     

正交实验法在兼容性测试中的应用
引用本文:章晓勤.正交实验法在兼容性测试中的应用[J].武汉工程大学学报,2013(10):81-86.
作者姓名:章晓勤
作者单位:安徽电子信息职业技术学院,安徽蚌埠233030
摘    要:为了解决在软件兼容性测试中使用全面实验法设计的测试用例过多,测试工作量太大的问题,研究了一种在兼容性测试中如何应用正交实验法的方法.首先分析待测软件,确定因素个数和每个因素对应的水平个数,然后从标准正交表中选择一个水平个数相同,因素个数大于或等于实际因数个数的正交表,最后把各因素的水平值映射到测试用例表中,并把每一行各因素水平值的组合作为一个测试用例.使用正交实验法,能从全面实验需要设计的大量测试用例中挑选部分数据进行测试,而且这些数据均匀分散,齐整可比,具有代表性.实践证明,在兼容性测试中应用正交实验法,可以有效减少测试用例的数目,减少测试工作量,降低测试成本.特别在因素个数和水平个数越多时,效果越明显.

关 键 词:正交实验法  兼容性测试  测试用例

Application study of orthogonal experimental method in compatibility testing
Authors:ZHANG Xiao-qin
Affiliation:ZHANG Xiao-qin(Anhui Vocational College of Electronics & Information Technology, Bengbu 233030,China)
Abstract:To solve the problem of the large number of the test cases designed in full software compatibility testing and the heavy testing workload,a method was researched on how to use the orthogonal experimental method in compatibility testing.First,we analyzed the software being tested,and determined the number of the factors and the number of the levels of each factor.Second,we selected an orthogonal table that the number of the levels is equal to the actual number of levels and the number of factors is greater than or equal to the actual number of factors from the standard orthogonal tables.Then,the values of the level of each factor were mapped into the test case table,and each line of each factor level combination was put into as a testing case.Using the orthogonal experimental method,we selected part of the data from a large number of test cases designed in comprehensive experiments to test,and these data were representative with homogeneously dispersed and comparably neat.Practice proves that the number of test cases and the testing workload can effectively be reduced and the cost of testing can be lowered.In particular,the number of the levels and the number of the factors are larger,the effect is more obvious.
Keywords:orthogonal experimental method  compatibility testing  test case
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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