arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.14284cs.SE
收藏

部分FSM模型的有效灰盒测试

Effective grey-box testing with partial FSM models

Robert Sachtleben, Jan Peleska

摘要:

对于部分的、不确定的、有限状态机,提出了一种新的一致性关系,称为强约简。它补充了其他现有的一致性关系的意义上说,新的关系是非常适合基于模型的测试系统的输入启用或禁用,这取决于实际的系统状态。这种系统的示例是图形用户界面和具有可以以机械方式启用或禁用的界面的系统。我们提出了一个新的测试生成算法产生完整的测试套件强约简。套件执行根据灰盒测试范例:它是假设,状态相关的启用输入集可以在测试执行过程中识别,而实现状态保持隐藏,在黑盒测试。它示出,这种灰盒信息被利用的生成算法在这样一种方式,所得到的最佳情况下的测试套件的大小仅是线性的状态空间大小的参考模型。此外,例子表明,这可能会导致显着减少测试套件的大小相比,真正的黑盒测试强减少。

英文摘要:

For partial, nondeterministic, finite state machines, a new conformance relation called strong reduction is presented. It complements other existing conformance relations in the sense that the new relation is well-suited for model-based testing of systems whose inputs are enabled or disabled, depending on the actual system state. Examples of such systems are graphical user interfaces and systems with interfaces that can be enabled or disabled in a mechanical way. We present a new test generation algorithm producing complete test suites for strong reduction. The suites are executed according to the grey-box testing paradigm: it is assumed that the state-dependent sets of enabled inputs can be identified during test execution, while the implementation states remain hidden, as in black-box testing. It is shown that this grey-box information is exploited by the generation algorithm in such a way that the resulting best-case test suite size is only linear in the state space size of the reference model. Moreover, examples show that this may lead to significant reductions of test suite size in comparison to true black-box testing for strong reduction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑