2020 · 36 citations · 7 references
ComputingComputer ScienceDesign AutomationSoftware EngineeringTest DevelopmentSoftware RefactoringSoftware TestingAutomated RefactoringCode Smell DetectionCode SmellsIntegrated Development EnvironmentsRefactoringRefactoring DetectionTest Cases
Test smells represent sub-optimal design or implementation solutions applied when developing test cases. Previous research has shown that these smells may decrease both maintainability and effectiveness of tests and, as such, researchers have been devising methods to automatically detect them. Nevertheless, there is still a lack of tools that developers can use within their integrated development environment to identify test smells and refactor them. In this paper, we present DARTS (Detection And Refactoring of Test Smells), an Intellij plug-in which (1) implements a state-of-the-art detection mechanism to detect instances of three test smell types, i.e., General Fixture, Eager Test, and Lack of Cohesion of Test Methods, at commit-level and (2) enables their automated refactoring through the integrated APIs provided by Intellij.
7
Are test smells really harmful? An empirical study
Gabriele Bavota, Abdallah Qusef, Rocco Oliveto et al. · Empirical Software Engineering · 2014 · 203 citations
On the Relation of Test Smells to Software Code Quality
Davide Spadini, Fabio Palomba, Andy Zaidman et al. · 2018 · 150 citations
Landfill: An Open Dataset of Code Smells with Public Evaluation
Fabio Palomba, Dario Di Nucci, Michele Tufano et al. · 2015 · 63 citations