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.
@article{arxiv.1912.07322,
title = {RTj: a Java framework for detecting and refactoring rotten green test cases},
author = {Matias Martinez and Anne Etien and Stéphane Ducasse and Christopher Fuhrman},
journal= {arXiv preprint arXiv:1912.07322},
year = {2019}
}