arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.05293cs.SE
收藏

不确定性条件下的测试模型覆盖分析

Test Model Coverage Analysis under Uncertainty

I. S. W. B. Prasetya, Rick Klomp

摘要:

在基于模型的测试(MBT)中,我们可能不得不处理非确定性模型,例如,因为应用了抽象,或者因为被测软件本身是非确定性的。相同的测试用例可能会触发多个可能的执行路径,这取决于软件做出的一些内部决策。因此,不可能进行精确的测试分析,例如计算测试覆盖率。如果开发人员可以用每个转换的估计概率来注释模型,这可以得到缓解。随后可以使用概率模型检验算法来进行简单的概率覆盖分析。然而,在实践中,开发人员往往想知道什么是实现的聚合覆盖率,不幸的是,不能重新表示为一个标准的模型检验问题。本文提出了一种扩展,允许有效的计算概率聚合覆盖,而且还结合了k-明智的覆盖。

英文摘要:

In model-based testing (MBT) we may have to deal with a non-deterministic model, e.g. because abstraction was applied, or because the software under test itself is non-deterministic. The same test case may then trigger multiple possible execution paths, depending on some internal decisions made by the software. Consequently, performing precise test analyses, e.g. to calculate the test coverage, are not possible. This can be mitigated if developers can annotate the model with estimated probabilities for taking each transition. A probabilistic model checking algorithm can subsequently be used to do simple probabilistic coverage analysis. However, in practice developers often want to know what the achieved aggregate coverage, which unfortunately cannot be re-expressed as a standard model checking problem. This paper presents an extension to allow efficient calculation of probabilistic aggregate coverage, and moreover also in combination with k-wise coverage.

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

↑