Pablo Gómez Abajo in Informática Oficial, Profesores y educadores, Informáticos Asociado a cargo de proyecto de investigación, Ingeniero en Informática, Ingeniero del Software • Universidad Autónoma de Madrid Oct 23, 2020 · 1 min read · 1.2K

Wodel-Test: a model-based framework for language-independent mutation testing

(with Esther Guerra, Juan de Lara and Mercedes G. Merayo)

Mutation testing (MT) targets the assessment of test cases by measuring their efficiency to detect faults. This technique involves modifying the program under test to emulate programming faults, and assessing whether the existing test cases detect such mutations. MT has been extensively studied since the 70's, and many tools have been proposed for widely used languages like C, Java, Fortran, Ada and SQL; and for notations like Petri-nets. However, building MT tools is costly and error-prone, which may prevent their development for new programming and domain-specific (modelling) languages.

In this paper, we propose a framework called Wodel-Test to reduce the effort to create MT tools. For this purpose, it follows a model-driven approach by which MT tools are synthesized from a high-level description. This description makes use of the domain-specific language Wodel to define and execute model mutations. Wodel is language-independent, as it allows the creation of mutation operators for any language defined by a meta-model. Starting from the definition of the mutation operators, Wodel-Test generates a MT environment which parses the program under test into a model, applies the mutation operators, and evaluates the test-suite against the generated mutants, offering a rich collection of MT metrics. We report on an evaluation of the approach based on the creation of MT tools for Java and the Atlas transformation language.

Wodel-Test: a model-based framework for language-independent mutation testing
Full paper available for the following three weeks :-)