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

Pairwise Testing - Orthogonal Arrays Strategy

关于两两测试的研究

generateTestData是供上层调用的公共方法,其在内部会调用generateRawTestData来产生原生的测试数据,并使用TestDataTransformer来转换原生的测试数据。MetaParameter包含了诸如因素、水平和强度等重要的输入信息。每个具体的Engine都要实现generateRawTestData这个抽象方法,以使用具体的策略来产生原生的测试数据。

AMEngine的内部设计如下图所示:

Pairwise Testing - Orthogonal Arrays Strategy

图11 AMEngine的内部设计

其中黑色箭头指代委托关系,蓝色线指代继承关系。

标绿色的OLS_t2_OAProvider是Lt2(tm)型正交表(t为素数或素数幂)的实现,其产生的正交表所对应的解是最优的。

H_2s_OAProvider是基于哈阵的直积来构造二水平正交表的实现,其产生的正交表所对应的解不全是最优的。

OLS_tu_OAProvider是为了解决因素数大于水平数加1情况时引入的一种解决方案,在下一节会有讨论,其产生的正交表所对应的解不是最优的。

OLS_OAProvider会委托OLS_Provider来产生正交拉丁方完全组,根据水平数为素数还是素数的方幂,决定使用基于以素数为模的剩余类域的Rp_OLS_Provider还是基于以不可约多项式为模的剩余类域的Poly_OLS_Provider。标红色的Poly_OLS_Provider的实现过程中使用了Jan Struyf所写的有限域的Java实现(doc.guandang.net)。

AMEngine在接收到上层系统的请求后,会委托OAProviderFactory来构造能处理该请求的OAProvider,如果无法处理则抛出异常。这样便把构造特定OAProvider的复杂逻辑从AMEngine分离出去,使职责得到分离,结构变得更清晰。

Pairwise Testing Service项目的核心包和源码可以在Google Code上拿到,其地址是,下图是核心包和源码下载页面的截图。

上一页第13页

你可能喜欢

热门文档

相关文档

  • 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