scispace - formally typeset
Search or ask a question

Showing papers by "Don Batory published in 2018"


Proceedings ArticleDOI
27 May 2018
TL;DR: This work presents the first step towards a refactoring-aware RTS technique, dubbed Reks, which skips tests affected only by behavior-preserving changes, and defines rules to update the test dependencies without running the tests.
Abstract: 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.

29 citations


DOI
01 Jan 2018
TL;DR: The ICB Research Report constitutes the Proceedings of the 4th International Workshop on Variability Modelling of Software-intensive Systems (VaMoS'10), which was held from January 27-29, 2010 at the Johannes Kepler University Linz as mentioned in this paper.
Abstract: This ICB Research Report constitutes the Proceedings of the 4th International Workshop on Variability Modelling of Software-intensive Systems (VaMoS’10), which was held from January 27–29, 2010 at the Johannes Kepler University Linz