Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 23 von 118
2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE), 2018, p.233-244
2018
Volltextzugriff (PDF)

Details

Autor(en) / Beteiligte
Titel
Towards refactoring-aware regression test selection
Ist Teil von
  • 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE), 2018, p.233-244
Ort / Verlag
New York, NY, USA: ACM
Erscheinungsjahr
2018
Quelle
IEEE Xplore
Beschreibungen/Notizen
  • Regression testing checks that recent project changes do not break previously working functionality. Although important, regression testing is costly when changes are frequent. Regression test selection (RTS) optimizes regression testing by running only tests whose results might be affected by a change. Traditionally, RTS collects dependencies (e.g., on files) for each test and skips the tests, at a new project revision, whose dependencies did not change. Existing RTS techniques do not differentiate behavior-preserving transformations (i.e., refactorings) from other code changes. As a result, tests are run more frequently than necessary. We present the first step towards a refactoring-aware RTS technique, dubbed Reks, which skips tests affected only by behavior-preserving changes. Reks defines rules to update the test dependencies without running the tests. To ensure that Reks does not hide any bug introduced by the refactoring engines, we integrate Reks only in the pre-submit testing phase, which happens on the developers' machines. We evaluate Reks by measuring the savings in the testing effort. Specifically, we reproduce 100 refactoring tasks performed by developers of 37 projects on GitHub. Our results show that Reks would not run, on average, 33% of available tests (that would be run by a refactoring-unaware RTS technique). Additionally, we systematically run 27 refactoring types on ten projects. The results, based on 74,160 refactoring tasks, show that Reks would not run, on average, 16% of tests (max: 97% and SD: 24%). Finally, our results show that the Reks update rules are efficient.
Sprache
Englisch
Identifikatoren
ISBN: 9781450356381, 1450356389
eISSN: 1558-1225
DOI: 10.1145/3180155.3180254
Titel-ID: cdi_ieee_primary_8453082

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX