arXiv · 2308.09547
Test Code Refactoring Unveiled: Where and How Does It Affect Test Code Quality and Effectiveness?
Abstract
Context. Refactoring has been widely investigated in the past in relation to production code quality, yet still little is known on how developers apply refactoring on test code. Specifically, there is still a lack of investigation into how developers typically refactor test code and its effects on test code quality and effectiveness. Objective. This paper presents a research agenda aimed to bridge this gap of knowledge by investigating (1) whether test refactoring actually targets test classes affected by quality and effectiveness concerns and (2) the extent to which refactoring contributes to the improvement of test code quality and effectiveness. Method. We plan to conduct an exploratory mining software repository study to collect test refactoring data of open-source Java projects from GitHub and statistically analyze them in combination with quality metrics, test smells, and code/mutation coverage indicators. Furthermore, we will measure how refactoring operations impact the quality and effectiveness of test code.
Explore related subjects
Keep this discovery
Luana Martins, Valeria Pontillo, Heitor Costa, Filomena Ferrucci, Fabio Palomba, Ivan Machado. 2023-08-18. Test Code Refactoring Unveiled: Where and How Does It Affect Test Code Quality and Effectiveness?. https://arxiv.org/abs/2308.09547
Cite the original work for its findings. Save a collection to share your selection of sources.