首页> 外文期刊>Information Processing Letters >Applying adaptive test cases to nondeterministic implementations
【24h】

Applying adaptive test cases to nondeterministic implementations

机译:将自适应测试用例应用于不确定的实现

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

摘要

In testing we observe traces of the SUT. If we can deduce that all traces that the SUT can produce in response to an adaptive test case γ have already been observed then we know that we do not have to apply γ. If this is the case then we can reduce the cost of test execution. Previous work has considered the case when the SUT is known to be deterministic and we extended this by investigating the situation in which the SUT could be nondeterministic. We started with the case where we can apply a fairness assumption. We then weakened this assumption to there being a lower bound p on the probability of observing alternative responses of the SUT to any input and in any state. We then considered the general case. In all three cases we showed how the problem can be solved in low-order polynomial time. Since it is sometimes possible to deduce that all possible responses to an adaptive test case γ have already been observed in testing, the expected cost of testing depends upon the order in which we apply the adaptive test cases. This leads to the question of how we can minimise the expected cost of testing. This problem has been considered for a deterministic SUT and there are algorithms for producing preset orders and for applying the adaptive test cases on the fly. Future work will investigate how these approaches can be extended to a nondeterministic SUT.
机译:在测试中,我们观察到了SUT的痕迹。如果我们可以推断出已经观察到SUT可以针对自适应测试用例γ生成的所有迹线,那么我们知道我们不必应用γ。如果是这种情况,那么我们可以减少测试执行的成本。先前的工作已经考虑了已知SUT是确定性的情况,我们通过研究SUT可能是不确定性的情况对此进行了扩展。我们从可以应用公平性假设的情况开始。然后,我们将这一假设减弱为在观察SUT对任何输入和任何状态的替代响应的概率上存在一个下界p。然后,我们考虑了一般情况。在这三种情况下,我们都展示了如何在低阶多项式时间内解决问题。由于有时可以推断出在测试中已经观察到对自适应测试用例γ的所有可能响应,因此测试的预期成本取决于我们应用自适应测试用例的顺序。这就引出了一个问题,即我们如何才能将预期的测试成本降至最低。对于确定性SUT,已经考虑了此问题,并且存在用于生成预设订单和动态应用自适应测试用例的算法。未来的工作将研究如何将这些方法扩展到不确定的SUT。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号