Treffer: RTj: a Java framework for detecting and refactoring rotten green test cases

Title:
RTj: a Java framework for detecting and refactoring rotten green test cases
Contributors:
Laboratoire d'Automatique, de Mécanique et d'Informatique industrielles et Humaines - UMR 8201 (LAMIH), Université de Valenciennes et du Hainaut-Cambrésis (UVHC)-Centre National de la Recherche Scientifique (CNRS), Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 (CRIStAL), Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS), Ecole de Technologie Supérieure [Montréal] (ETS)
Source:
ICSE '20: 42nd International Conference on Software Engineering. :69-72
Publisher Information:
HAL CCSD, 2020.
Publication Year:
2020
Collection:
collection:CNRS
collection:UNIV-VALENCIENNES
collection:CRISTAL
collection:CRISTAL-RMOD
collection:UNIV-LILLE
collection:LAMIH
collection:TEST3-HALCNRS
collection:INSA-HAUTS-DE-FRANCE
collection:TEST-UPHF
Subject Geographic:
Original Identifier:
HAL: hal-03379988
Document Type:
Konferenz conferenceObject<br />Conference papers
Language:
English
Relation:
info:eu-repo/semantics/altIdentifier/doi/10.1145/3377812.3382151
DOI:
10.1145/3377812.3382151
Accession Number:
edshal.hal.03379988v1
Database:
HAL

Weitere Informationen

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