Title
Dynamic unit test extraction via time travel debugging for test cost reduction
Abstract
Compared to system tests, unit tests execute faster and allow more precise fault localisation. Hence, it can be beneficial to automatically extract unit tests and displace associated system tests. However, the extraction process may encounter challenges such as the identification of relevant test objectives, scalability issues, and future maintainability of serialized state. To address these challenges, we exploit time travel debugging for efficient and accurate reconstruction of object states and use differential analysis of code coverage data. This allows us to extract code-only unit tests with a feasible overhead. The extracted unit tests mimic relevant parts of the system tests and, by displacing the latter in early testing stages, save resources. Our preliminary evaluation indicates large potentials for test cost reduction and high practical acceptance.
Year
DOI
Venue
2019
10.1109/ICSE-Companion.2019.00093
Proceedings of the 41st International Conference on Software Engineering: Companion Proceedings
Keywords
DocType
ISSN
dynamic unit test extraction,test carving,test cost reduction,unit test generation,multiple stage testing strategy
Conference
2574-1926
ISBN
Citations 
PageRank 
978-1-7281-1765-2
1
0.35
References 
Authors
5
4
Name
Order
Citations
PageRank
Thomas Bach1102.30
Ralf Pannemans291.95
Johannes Haeussler310.35
Artur Andrzejak424527.47