When to Let the Developer Guide: Trade-offs Between Open and Guided Test Amplification

Conference Paper (2023)
Author(s)

C.E. Brandt (TU Delft - Software Engineering)

D. Wang (Student TU Delft)

A.E. Zaidman (TU Delft - Software Engineering)

DOI related publication
https://doi.org/10.1109/SCAM59687.2023.00032 Final published version
More Info
expand_more
Publication Year
2023
Language
English
Bibliographical Note
Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.
Pages (from-to)
231-241
ISBN (electronic)
979-8-3503-0506-7
Downloads counter
253
Collections
Institutional Repository
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 generates new tests by mutating existing, developer-written tests and keeping those tests that improve the coverage of the test suite. Current amplification tools focus on starting from a specific test and propose coverage improvements all over a software project, requiring considerable effort from the software engineer to understand and evaluate the different tests when deciding whether to include a test in the maintained test suite. In this paper, we propose a novel approach that lets the developer take charge and guide the test amplification process towards a specific branch they would like to test in a control flow graph visualization. We evaluate whether simple modifications to the automatic process that incorporate the guidance make the test amplification more effective at covering targeted branches. In a user study and semi-structured interviews we compare our user-guided test amplification approach to the state-of-the-art open test amplification approach. While our participants prefer the guided approach, we uncover several trade-offs that influence which approach is the better choice, largely depending on the use case of the developer.

Files

When_to_Let_the_Developer_Guid... (pdf)
(pdf | 1.51 Mb)
- Embargo expired in 01-07-2024
License info not available