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

组合序列测试的广义覆盖准则

Generalized Coverage Criteria for Combinatorial Sequence Testing

Achiya Elyasaf, Eitan Farchi, Oded Margalit, Gera Weiss, Yeshayahu Weiss

AI总结:

针对以动作与断言序列为测试向量的系统,提出广义序列覆盖准则、测试套件生成工具及贝叶斯风险量化框架,并实证验证其缺陷发现、风险评估与覆盖效果。

摘要:

我们提出了一种新的基于模型的方法,用于测试将动作和断言序列用作测试向量的系统。我们的解决方案包括一种量化测试质量的方法、一个基于我们提出的覆盖准则生成高质量测试套件的工具,以及一个评估风险的框架。在测试质量方面,我们提出了一种规定动作序列上广义覆盖准则的方法,该方法扩展了以往的方法。我们公开可用的工具展示了如何基于这些准则从测试计划中提取有效的测试套件。我们还提出了一种用于测量缺陷或风险概率的贝叶斯方法,并展示了这种量化如何有助于在测试中的利用与探索之间实现知情平衡。最后,我们提供了一项实证评估,证明我们的工具在发现缺陷、评估风险和实现覆盖方面的有效性。

英文摘要:

We present a new model-based approach for testing systems that use sequences of actions and assertions as test vectors. Our solution includes a method for quantifying testing quality, a tool for generating high-quality test suites based on the coverage criteria we propose, and a framework for assessing risks. For testing quality, we propose a method that specifies generalized coverage criteria over sequences of actions, which extends previous approaches. Our publicly available tool demonstrates how to extract effective test suites from test plans based on these criteria. We also present a Bayesian approach for measuring the probabilities of bugs or risks, and show how this quantification can help achieve an informed balance between exploitation and exploration in testing. Finally, we provide an empirical evaluation demonstrating the effectiveness of our tool in finding bugs, assessing risks, and achieving coverage.

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

↑