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

覆盖所有非终结符的随机文法测试

Random Grammar-based Testing for Covering All Non-Terminals

Alois Dreyfus, Pierre-Cyrille Heam, Olga Kouchnarenko

摘要:

在软件测试的上下文中,生成复杂的数据输入经常使用基于语法的规范来执行。由于组合的原因,详尽地生成给定大小的数据实际上是不可能的,大多数方法要么基于随机技术,要么基于覆盖标准。在本文中,我们将展示如何结合这两种技术,通过偏置随机生成,以优化满足覆盖标准的概率。

英文摘要:

In the context of software testing, generating complex data inputs is frequently performed using a grammar-based specification. For combinatorial reasons, an exhaustive generation of the data -- of a given size -- is practically impossible, and most approaches are either based on random techniques or on coverage criteria. In this paper, we show how to combine these two techniques by biasing the random generation in order to optimise the probability of satisfying a coverage criterion.

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

↑