Shaken, Not Stirred

How Developers Like Their Amplified Tests

Journal Article (2024)
Authors

Carolin Brandt (TU Delft - Software Engineering)

Ali Khatami (TU Delft - Software Engineering)

Mairieli Wessel (Radboud Universiteit Nijmegen)

AE Zaidman (TU Delft - Software Technology)

Research Group
Software Engineering
To reference this document use:
https://doi.org/10.1109/TSE.2024.3381015
More Info
expand_more
Publication Year
2024
Language
English
Research Group
Software Engineering
Issue number
5
Volume number
50
Pages (from-to)
1264-1280
DOI:
https://doi.org/10.1109/TSE.2024.3381015
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Test amplification makes systematic changes to existing, manually written tests to provide tests complementary to an automated test suite. We consider developer-centric test amplification, where the developer explores, judges and edits the amplified tests before adding them to their maintained test suite. However, it is as yet unclear which kind of selection and editing steps developers take before including an amplified test into the test suite. In this paper we conduct an open source contribution study, amplifying tests of open source Java projects from GitHub. We report which deficiencies we observe in the amplified tests while manually filtering and editing them to open 39 pull requests with amplified tests. We present a detailed analysis of the maintainer's feedback regarding proposed changes, requested information, and expressed judgment. Our observations provide a basis for practitioners to take an informed decision on whether to adopt developer-centric test amplification. As several of the edits we observe are based on the developer's understanding of the amplified test, we conjecture that developer-centric test amplification should invest in supporting the developer to understand the amplified tests.

Files

Shaken_Not_Stirred_How_Develop... (pdf)
(pdf | 1.29 Mb)
- Embargo expired in 22-09-2024
License info not available