文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > Pairwise Testing - Orthogonal Arrays Strategy
侵权投诉

Pairwise Testing - Orthogonal Arrays Strategy

关于两两测试的研究

Pairwise Testing

— Orthogonal Arrays Strategy

张坚 A0617343

1. 介绍

软件测试通常要花费掉开发组织30%~70%的开发资源[1],如何有效地提高软件测试的效率是开发组织应该考虑的关键问题之一。由于很多情况下穷举测试是不可行的,测试人员必须在时间和资源的有限性与测试覆盖的彻底性之间做好权衡。解决这个问题的一个行之有效的方法便是Pairwise Testing。

Pairwise Testing是一种能帮助测试人员有效地设计测试用例的方法和技术。为了更好地理解其概念本身,首先引入几个相关概念的介绍。

所谓因素(Factor),就是影响软件行为的参数(Parameter)或变量(Variable);所谓水平(Level),就是某个因素的可能取值;所谓强度(Strength),就是因素之间相互关系的程度,取值为二时只考虑两两因素的取值对软件行为的影响,取值为三时考虑任意三个因素的取值对软件行为的影响;所谓次数(Run),就是所产生的测试用例的个数。

Pairwise Testing便是强度为二的情况,其要求所产生的测试用例集能够覆盖任意两个因素之间的任意水平值的配对。下面举个例子以更生动地理解这些概念。

考虑一个网上书店应用程序中计算图书订单折扣价的方法computeDiscountedPrice,该方法位于图书订单类Order中。其输入参数为用户星级,取值为一星,二星,三星;用户类型,取值为普通用户,学生和内部员工;包装方式,取值为普通包装、加固包装和礼品包装。则可以列出如下信息:

Pairwise Testing - Orthogonal Arrays Strategy

表1 因素/水平信息

考虑强度为二的情形,可得出一种满足要求的测试用例集如下:

Pairwise Testing - Orthogonal Arrays Strategy

第1页

你可能喜欢

热门文档

相关文档

  • A test generation strategy for pairwise testing

    A test generation strategy for pairwise testing_专业资料。AbstractDPairwise ... approach to generating a pairwise test set is to use orthogonal arrays. ...

  • ...schemes for ordered orthogonal arrays and_免费下...

    田口方法简介 69页 免费 Pairwise Testing - Ortho... 19页 1财富值... Association schemes for ordered orthogonal arrays and (t,m,s)-nets W. ...

  • 软件测试高级技术

    Pairwise Testing称为“成对测试”、“两两测试” 或者“结对测试”; ?和Pairwise Testing类似的还有“Combinatorial Method”、“Orthogonal Arrays”、“All-Pairs ...

  • Abstract Pseudo-Exhaustive Testing

    Faster algorithms for generating covering arrays [5... a Test Generation Strategy for Pairwise Testing....Mandl. Orthogonal Latin squares: An application of...

  • Domain Testing Divide & Conquer

    33 2.03.02 Pairwise / Orthogonal Arrays Testing ... 34 2.03.03 Combinatorial...60 Chapter 4: Instructional Design and Evaluation Strategy for Domain Te...

  • Ch9-FunctionalTesting

    Orthogonal arrays provide a technique for selecting a subset of test cases with the following properties: –––– It guarantees testing the pairwise ...

  • Ch9-FunctionalTesting

    Orthogonal arrays provide a technique for selecting a subset of test cases with the following properties: –––– It guarantees testing the pairwise ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email