Wodel-TestA Model-Based Framework for Language-Independent Mutation Testing

  1. Pablo Gómez-Abajo
  2. Esther Guerra
  3. Juan de Lara
  4. Mercedes G. Merayo
Libro:
Actas de las XXV Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2021): [Málaga, 22 al 24 de septiembre de 2021]
  1. Rafael Capilla (coord.)
  2. Maider Azanza (coord.)
  3. Miguel Rodríguez Luaces (coord.)
  4. María del Mar Roldán García (coord.)
  5. Loli Burgueño (coord.)
  6. José Raúl Romero (coord.)
  7. José Antonio Parejo Maestre (coord.)
  8. José Francisco Chicano García (coord.)
  9. Marcela Genero (coord.)
  10. Oscar Díaz (coord.)
  11. José González Enríquez (coord.)
  12. Mª Carmen Penadés Gramaje (coord.)
  13. Silvia Abrahão (col.)

Editorial: Sociedad de Ingeniería de Software y Tecnologías de Desarrollo de Software (SISTEDES)

Año de publicación: 2021

Congreso: Jornadas de Ingeniería del Software y Bases de Datos (JISBD) (25. 2021. Malaga)

Tipo: Aportación congreso

Resumen

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+ADs 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.