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

结构试验目标的通用有效规范

Generic and Effective Specification of Structural Test Objectives

Sébastien Bardin, Mickaël Delahaye, Nikolai Kosmatov, Michaël Marcozzi, Virgile Prevosto

摘要:

虽然已经提出了广泛的不同的,有时异构的测试覆盖标准,不存在通用的形式主义来描述它们,可用的测试自动化工具通常只支持其中的一小部分。我们引入了一个统一的规约语言,称为HTOL,提供了一个强大的通用机制来定义测试目标,它允许编码许多现有的标准,并支持他们在一个统一的方式。HTOL具有形式化的语义,可以在多个执行中表达复杂的需求(使用超标签的新概念),以及整个程序执行中的替代需求或需求。提出了一种新的分类的一大类现有的标准。最后,已实施的HTOL目标的覆盖率测量工具。初步实验表明,该方法是有效的和实用的。

英文摘要:

While a wide range of different, sometimes heterogeneous test coverage criteria have been proposed, there exists no generic formalism to describe them, and available test automation tools usually support only a small subset of them. We introduce a unified specification language, called HTOL, providing a powerful generic mechanism to define test objectives, which permits encoding numerous existing criteria and supporting them in a unified way. HTOL comes with a formal semantics and can express complex requirements over several executions (using a novel notion of hyperlabels), as well as alternative requirements or requirements over a whole program execution. A novel classification of a large class of existing criteria is proposed. Finally, a coverage measurement tool for HTOL objectives has been implemented. Initial experiments suggest that the proposed approach is both efficient and practical.

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

↑