...
首页> 外文期刊>Computer networks >A passive testing approach based on invariants: application to the WAP
【24h】

A passive testing approach based on invariants: application to the WAP

机译:基于不变式的被动测试方法:应用于WAP

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

This paper presents a new methodology to perform passive testing based on invariants. This novel approach is supported by the following idea: a set of invariants represent the most relevant expected properties of the implementation under test. Intuitively, an invariant expresses the fact that each time the implementation under test performs a given sequence of actions, then it must exhibit a behavior reflected in the invariant. For example, an invariant such as i_1/ o_1,...,i_(n-1)/o_(n-1),i_n/O must be interpreted as "each time the implementation performs the sequence i_1/o_1,...,i_(n-1)/o_(n-1),i_n the next observed output belongs to the set O". We call these invariants simple invariants. In this work we introduce a new notion of invariants to deal with more subtle properties. For instance, we will consider invariants to express properties such as "if y happens then we must have that x had happened before". These invariants are called obligation invariants. We present algorithms to decide the correctness of the proposed invariants with respect to a given specification. Once we have that an invariant is correct with respect to a given specification, we check whether the execution traces observed from the implementation respect the invariant. In order to perform this phase we present two algorithms based, respectively, on left-to-right and right-to-left pattern matching algorithms. In addition to the theoretical framework we have developed a software tool, called TESTINV, that helps in the automation of our passive testing approach. In particular, the algorithms presented in this paper are fully implemented in the tool. Finally, in order to test the usefulness of our approach we have chosen a real-life case study: the Wireless Application Protocol (WAP). We present a test architecture as well as the most relevant results obtained from the application of our approach to the WAP.
机译:本文提出了一种基于不变式执行被动测试的新方法。这种新颖的方法受到以下想法的支持:一组不变变量表示测试中实现的最相关的预期属性。直观上,一个不变式表示以下事实:每次被测实现执行给定的动作序列时,则它必须表现出反映在该不变式上的行为。例如,不变量i_1 / o_1,...,i_(n-1)/ o_(n-1),i_n / O必须解释为“每次实现执行序列i_1 / o_1,...。 。,i_(n-1)/ o_(n-1),i_n下一个观察到的输出属于集合O“。我们称这些不变量为简单不变量。在这项工作中,我们引入了不变性的新概念来处理更微妙的性质。例如,我们将考虑使用不变式来表示属性,例如“如果y发生,那么我们必须让x之前发生过”。这些不变量称为义务不变量。我们提出了一种算法,可以根据给定的规范来确定所提出的不变式的正确性。一旦有了关于给定规范的不变式是正确的,就检查从实现中观察到的执行轨迹是否符合不变式。为了执行此阶段,我们提出两种算法,分别基于从左到右和从右到左的模式匹配算法。除了理论框架外,我们还开发了一个名为TESTINV的软件工具,该工具可帮助我们实现被动测试方法的自动化。特别是,本文介绍的算法已在该工具中完全实现。最后,为了测试我们方法的有效性,我们选择了一个真实的案例研究:无线应用协议(WAP)。我们介绍了一种测试体系结构以及从将我们的方法应用于WAP所获得的最相关的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号