Automated Reuse of Test Cases for Highly Configurable Software Systems

S. Fischer, G. Michelon, R. Ramler, L. Linsbauer, A. Egyed. Automated Reuse of Test Cases for Highly Configurable Software Systems. pages 39-40, DOI, 2, 2021.

  • Stefan Fischer
  • Gabriela Karoline Michelon
  • Rudolf Ramler
  • Lukas Linsbauer
  • Alexander Egyed
BuchSoftware Engineering 2021
TypIn Konferenzband
OrganisationBonn: Gesellschaft für Informatik e.V.

In this work, we report about our research results initially published in the journal Empirical Software Engineering, volume 25, issue 6, pp. 5295–5332, November 2020, We performed experiments on test reusability across configurations of highly configurable software systems. First, we used manually written tests for specific configurations of three configurable systems and investigated how changing configuration options affects these tests. Subsequently, we applied an approach developed for automated reuse, ECCO (Extraction and Composition for Clone-and-Own), to automatically generate tests for new configurations from the existing, manually written tests. The experiments showed that our generated tests had a higher or equal success rate compared to direct reuse and they generally achieved a higher code coverage. It can be concluded that automating the reuse of tests for configurable software can substantially reduce the effort for adapting existing tests and it supports a rigorous testing process.