Refactoring Assertion Roulette and Duplicate Assert test smells: a controlled experiment
Railana Santana, Luana Martins, T\'assio Virg\'inio, Larissa, Soares, Heitor Costa, Ivan Machado

TL;DR
This paper evaluates RAIDE, an automated tool for refactoring test smells, demonstrating its efficiency and intuitiveness compared to manual refactoring and existing approaches.
Contribution
It introduces RAIDE, a novel tool for automatic identification and refactoring of Assertion Roulette and Duplicate Assert test smells, validated through an empirical study.
Findings
RAIDE refactors test smells faster than manual methods.
RAIDE is more intuitive for developers to use.
It outperforms existing approaches in test smell refactoring.
Abstract
Test smells can reduce the developers' ability to interact with the test code. Refactoring test code offers a safe strategy to handle test smells. However, the manual refactoring activity is not a trivial process, and it is often tedious and error-prone. This study aims to evaluate RAIDE, a tool for automatic identification and refactoring of test smells. We present an empirical assessment of RAIDE, in which we analyzed its capability at refactoring Assertion Roulette and Duplicate Assert test smells and compared the results against both manual refactoring and a state-of-the-art approach. The results show that RAIDE provides a faster and more intuitive approach for handling test smells than using an automated tool for smells detection combined with manual refactoring.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software Reliability and Analysis Research
