METEOR: A Tool for Monitoring Behavior Preservation in Test Code Refactorings
The success of test refactoring, particularly in the removal of test smells, relies on a post-refactoring evaluation to ensure that the refactored test maintains its behavior, meaning its defect detection capability. Test smells are indicative of issues within test code. While various approaches in the literature propose strategies for evaluating test behavior, they lack tool support for practical industry application. Therefore, this study introduces MeteoR, a tool model that employs a mutation testing approach to assess refactored test behavior. MeteoR is implemented as a plugin for the Eclipse IDE and is integrated with PITclipse, streamlining the collection and analysis of mutation test data for effective evaluation of test refactoring. This paper provides a detailed description of the MeteoR implementation, discusses encountered challenges and findings, and includes illustrative examples demonstrating its efficacy through a preliminary evaluation, which shows promising initial results. The video presentation of MeteoR is available at https://doi.org/10.6084/m9.figshare.25954045.
Authors
- Eduardo Guerra (ORCID: https://orcid.org/0000-0001-5555-3487)
- Fábio Fagundes Silveira (ORCID: https://orcid.org/0000-0002-2063-2959)
- Tiago Samuel Rodrigues Teixeira (ORCID: https://orcid.org/0009-0006-9960-4729)
Institutions
- Free University of Bozen-Bolzano (IT)
- Fundação de Apoio à Universidade Federal de São Paulo (BR)
- Industry and Parliament Trust (GB)
Publication Details
- Published
- 2024-09-30
- DOI
- https://doi.org/10.5753/sbes.2024.3580
- Citations
- 2
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.97
Funders
- Fundação de Amparo à Pesquisa do Estado de São Paulo