RTj: a Java framework for detecting and refactoring rotten green test cases
Abstract
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2019
- DOI:
- 10.48550/arXiv.1912.07322
- arXiv:
- arXiv:1912.07322
- Bibcode:
- 2019arXiv191207322M
- Keywords:
-
- Computer Science - Software Engineering