...
【24h】

Oracles for Distributed Testing

机译:分布式测试的Oracle

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

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

       

摘要

The problem of deciding whether an observed behavior is acceptable is the oracle problem. When testing from a finite state machine (FSM), it is easy to solve the oracle problem and so it has received relatively little attention for FSMs. However, if the system under test has physically distributed interfaces, called ports, then in distributed testing, we observe a local trace at each port and we compare the set of local traces with the set of allowed behaviors (global traces). This paper investigates the oracle problem for deterministic and nondeterministic FSMs and for two alternative definitions of conformance for distributed testing. We show that the oracle problem can be solved in polynomial time for the weaker notion of conformance ({sqsubseteq_w}) but is NP-hard for the stronger notion of conformance ({sqsubseteq_s}), even if the FSM is deterministic. However, when testing from a deterministic FSM with controllable input sequences, the oracle problem can be solved in polynomial time and similar results hold for nondeterministic FSMs. Thus, in some cases, the oracle problem can be efficiently solved when using sqsubseteq_s and where this is not the case, we can use the decision procedure for sqsubseteq_w as a sound approximation.
机译:判断观察到的行为是否可接受的问题是预言家问题。从有限状态机(FSM)进行测试时,很容易解决oracle问题,因此对FSM的关注相对较少。但是,如果被测系统具有物理上称为端口的分布式接口,则在分布式测试中,我们会在每个端口上观察到本地跟踪,然后将本地跟踪集与允许的行为集(全局跟踪)进行比较。本文研究了确定性和非确定性FSM的oracle问题,以及分布式测试一致性的两个替代定义。我们证明,对于较弱的一致性概念({sqsubseteq_w}),可以在多项式时间内解决oracle问题,但是对于较强的一致性概念({sqsubseteq_s})来说,NP问题很难解决,即使FSM是确定性的。但是,当从具有可控制的输入序列的确定性FSM进行测试时,可以在多项式时间内解决oracle问题,并且对于不确定性FSM可以得到类似的结果。因此,在某些情况下,使用sqsubseteq_s可以有效地解决oracle问题,如果不是这种情况,我们可以将sqsubseteq_w的决策过程用作合理的近似值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号