Generic and Effective Specification of Structural Test Objectives
Abstract
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.
Cite
@article{arxiv.1609.01204,
title = {Generic and Effective Specification of Structural Test Objectives},
author = {Sébastien Bardin and Mickaël Delahaye and Nikolai Kosmatov and Michaël Marcozzi and Virgile Prevosto},
journal= {arXiv preprint arXiv:1609.01204},
year = {2017}
}
Comments
(updated with additional experiments and details)