• Home
  • Search
  • Static and Dynamic Comparison of Mutation Testing Tools for Python
  • Cite Icon2
  • https://doi.org/10.1145/3701625.3701659Copy DOI Icon

Static and Dynamic Comparison of Mutation Testing Tools for Python

  • Nov 5, 2024
  • Lucca Renato Guerino +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Context: Mutation testing is a rigorous approach for assessing the quality of test suites by injecting faults (i.e., mutants) into software under test.Tools, such as CosmicRay and Mutpy, are examples of Mutation Testing tools for Python software programs.Problem: With different Python mutation testing tools, comparative analysis is lacking to evaluate their effectiveness in different usage scenarios.Furthermore, the evolution of these tools makes continuous evaluation of their functionalities and characteristics necessary.Method: In this work, we evaluate (statically and dynamically) four Python mutation testing tools, namely CosmicRay, MutPy, MutMut, and Mutatest.In static evaluation, we introduce a comparison framework, adapted from one previously applied to Java tools, and collected information from tool documentation and developer surveys.For dynamic evaluation, we use tests built based on those produced by Pynguin, which are improved through the application of Large Language Models (LLMs) and manual analyses.Then, the adequate test suites were cross-tested among different tools to evaluate their effectiveness in killing mutants each other.Results: Our findings reveal that CosmicRay offers superior functionalities and customization options for mutant generation compared to its counterparts.Although CosmicRay's performance was slightly lower than MutPy in the dynamic tests, its recent updates and active community support highlight its potential for future enhancements.Cross-examination of the test suites further shows that mutation scores varied narrowly among tools, with a slight emphasis on MutPy as the most effective mutant fault model. CCS Concepts Software and its engineering Software verification and validation; Empirical software validation.

Similar Papers
  • Research Article
  • Citations27

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

  • Oct 17, 2020
  • Software and Systems Modeling
  • Pablo Gómez-Abajo +3
  • Conference Article
  • Citations4

Mutation testing for DSLs (tool demo)

  • Oct 20, 2019
  • Pablo Gómez-Abajo +3
  • Book Chapter
  • Citations2

Comparison and Validation of Mutation Testing Tools Based on Java Language

  • Jan 01, 2022
  • Manju Khari
  • Conference Article
  • Citations5

Mutation testing tools- an empirical study

  • Jan 01, 2013
  • D Singh +1
  • Conference Article
  • Citations3

Priority Path for Mutant Repairs on Mutation Testing

  • Sep 01, 2019
  • Sasa Ani Arnomo +1
  • Conference Article
  • Citations11

Evaluation and assessment of effects on exploring mutation testing in programming courses

  • Oct 01, 2015
  • Rafael A P Oliveira +3
  • Research Article
  • Citations9

A Study and Review on the Development of Mutation Testing Tools for Java and Aspect-J Programs

  • Nov 08, 2014
  • International Journal of Modern Education and Computer Science
  • Pradeep Kumar Singh +2
  • Conference Article
  • Citations1

Boolean expression extender — A mutation operator for strengthening and weakening boolean expressions

  • Sep 01, 2017
  • Simon Gutierrez Brida +1
  • Conference Article
  • Citations60

Does Mutation Testing Improve Testing Practices?

  • May 01, 2021
  • Goran Petrović +3
  • Research Article
  • Citations2

Mutation testing of PL/SQL programs

  • Jun 16, 2022
  • Journal of Systems and Software
  • Arzu Behiye Tarımcı +1
  • Conference Article
  • Citations18

Mutode: generic JavaScript and Node.js mutation testing tool

  • Jul 12, 2018
  • Diego Rodríguez-Baquero +1
  • Research Article
  • Citations99

Judy – a mutation testing tool for Java

  • Feb 01, 2010
  • IET Software
  • L Madeyski +1
  • Conference Article
  • Citations1

FRAFOL: FRAmework FOr Learning mutation testing

  • Sep 11, 2024
  • Pedro Tavares +3
  • Conference Article
  • Citations2

Mrstudyr: Retrospectively Studying the Effectiveness of Mutant Reduction Techniques

  • Oct 01, 2016
  • Colton J Mccurdy +2
  • Research Article

How to Use LLMs Ethically in Academic Writing?

  • May 18, 2025
  • Education Insights
  • Tiantian Yu
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.