AriesLinter: Sniffing Test Smells Before They Happen
Software quality depends not only on production code but also on the quality of test code. Among the factors that compromise this quality, test smells stand out, poor implementation patterns in tests that negatively affect the readability, maintainability, and reliability of the test suite. Although tools such as tsDetect and JNose support test smell detection, they operate post-hoc, requiring the code to be complete and analyzed outside the development environment. Other tools, like RAIDE, offer detection within the IDE via plugins; however, the analysis is not instantaneous and still occurs after the code is written. These reactive approaches result in delayed feedback and significantly increase the refactoring effort. In this context, we propose AriesLinter, a static analysis tool that can be integrated into major development environments and is capable of detecting test smells in real time, as the test code is being written. Built on top of the Checkstyle infrastructure, AriesLinter automatically detects 10 of the most recurrent test smells reported in the literature and commonly found in Java projects. The tool is cross-platform and compatible with multiple IDEs. By anticipating the detection of poor patterns and embedding it into the natural workflow of developers, AriesLinter acts proactively, reducing the likelihood of test smells being introduced into the codebase and fostering a culture of continuous attention to test quality. Demo video: https://youtu.be/Cj6mQGGHlvk
Authors
- Eusímio Felisbino Fraga Júnior (ORCID: https://orcid.org/0000-0002-1721-9805)
- Tássio Virgínio (ORCID: https://orcid.org/0000-0001-6259-4957)
- Rafael Port da Rocha (ORCID: https://orcid.org/0000-0003-4131-0534)
- Carla Bezerra (ORCID: https://orcid.org/0000-0002-5879-5067)
- Ivan Machado (ORCID: https://orcid.org/0000-0001-9027-2293)
- Larissa Rocha (ORCID: https://orcid.org/0009-0000-3928-6374)
Institutions
- Universidade do Estado da Bahia (BR)
- United Food and Commercial Workers (US)
Publication Details
- Published
- 2025-09-22
- DOI
- https://doi.org/10.5753/sbes.2025.11576
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Fundação de Amparo à Pesquisa do Estado da Bahia