RTj: a Java framework for detecting and refactoring rotten green test cases
This addresses the issue of false confidence in test quality for Java developers, though it is incremental as it builds on existing test analysis methods.
The paper tackles the problem of rotten green tests in Java projects, which are passing tests with unexecuted assertions, and presents RTj, a framework that automatically detected 427 such tests across 26 open-source projects.
Rotten green tests are passing tests which have, at least, one assertion not executed. They give developers a false confidence. In this paper, we present, RTj, a framework that analyzes test cases from Java projects with the goal of detecting and refactoring rotten test cases. RTj automatically discovered 427 rotten tests from 26 open-source Java projects hosted on GitHub. Using RTj, developers have an automated recommendation of the tests that need to be modified for improving the quality of the applications under test.