【24h】

Testing Patterns

机译:测试模式

获取原文
获取外文期刊封面目录资料

摘要

continue to find new areas of application. In previous work, we presented a contract formalism for specifying patterns precisely, and showed how the use of the for- malism can amplify the benefits of patterns. In this pa- per, our goal is to enable practitioners to test whether their systems, as implemented, meet the requirements, as specified in the pattern contracts, corresponding to the correct usage of the patterns underlying the systems'' de- signs. In our testing approach, corresponding to each de- sign pattern, there is a set of what we call pattern test case templates (PTCTs). A PTCT codifies a reusable test case structure designed to identify defects associated with ap- plications of the particular pattern. The test assertions in the PTCT are based on the requirements specified in the appropriate pattern contract. Next we present a pro- cess using which, given any system designed using the pattern, the system tester can generate a test suite from the PTCTs for that pattern that can be used to test the system for bugs in the implementation of the particular pattern. The process allows the system tester to tailor the test suite the needs of the individual system by specifying a set of specialization rules that are designed to reflect the structure and the scenarios in which the defects codi- fied in the PTCTs are likely to manifest themselves in the particular system.
机译:继续找到新的应用领域。在以前的工作中,我们介绍了一项合同形式主义,以确切地指定模式,并显示出案例的使用是如何放大模式的益处。在此PA-PER中,我们的目标是使从业者能够测试他们的系统,如实施,如模式合同中规定的要求,对应于系统底层的模式的正确使用。在我们的测试方法中,对应于每个操作模式,我们称之为呼叫模式测试用例模板(PTCT)。 PTCT编码可重复使用的测试案例结构,旨在识别与特定模式的折叠相关联的缺陷。 PTCT中的测试断言基于适当的模式合同中规定的要求。接下来,我们介绍了一个使用它,给定使用模式设计的任何系统的过程,系统测试仪可以从PTCT生成测试套件,该模式可用于测试特定模式实现中的错误。该过程允许系统测试仪通过指定一组专业化规则来定制测试套件,该专用规则是旨在反映结构的结构和场景,其中在PTCTS中的缺陷可能表现出来特定的系统。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号