Have a personal or library account? Click to login
Mutants as Patches: Towards a formal approach to Mutation Testing Cover

Mutants as Patches: Towards a formal approach to Mutation Testing

Open Access
|Nov 2019

Abstract

Background: Mutation testing is a widely explored technique used to evaluate the quality of software tests, but little attention has been given to its mathematical foundations.

Aim: We provide a formal description of the core concepts in mutation testing, relations between them and conclusions that can be drawn from the presented model.

Method: We introduce concepts of mutant space and patch space, and refer to patch merging procedure from the patch theory. We explicitly present constraints, such as location-dependence, that affect mutation operators. We also present a way to use introduced formalism with traditional operators proposed in other papers.

Results: The proposed formalism allows to describe interactions between separate mutations using well-known abstract algebra notation.

Conclusion: The presented formalism may substantially decrease the number of tested weak mutants and increase the number of valuable ones, while giving tools to partially address the problem of equivalent mutants, particularly for higher-order mutation testing. However, additional empirical evaluation is still needed.

DOI: https://doi.org/10.2478/fcds-2019-0019 | Journal eISSN: 2300-3405 | Journal ISSN: 0867-6356
Language: English
Page range: 379 - 405
Submitted on: Jan 17, 2019
Accepted on: Oct 25, 2019
Published on: Nov 25, 2019
Published by: Poznan University of Technology
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 2019 Tomasz Lewowski, Lech Madeyski, published by Poznan University of Technology
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.