Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

On the effectiveness of test extraction without overhead

 
: Leitner, A.; Pretschner, A.; Mori, S.; Meyer, B.; Oriol, M.

:

Second International Conference on Software Testing, Verification, and Validation ICST 2009. Proceedings : Denver, Colorado, April 1-4, 2009
Los Alamitos, Calif.: IEEE, 2009
ISBN: 978-0-7695-3601-9
ISBN: 978-1-4244-3775-7
S.416-425
International Conference on Software Testing, Verification, and Validation (ICST) <2, 2009, Denver/Colo.>
Englisch
Konferenzbeitrag
Fraunhofer IESE ()

Abstract
Developers write and execute ad-hoc tests as they implement software. While these tests reflect important insights of the developers (e.g., which parts of the software need testing and what inputs should be used), they are usually not persistent and are easily forgotten. They cannot always be re-executed automatically, for example to debug or to test for regressions. Several methods that make such test cases persistent and automatically executable have been proposed. They rely on capturing state and/or events at runtime and thus induce significant overhead or require specialized hardware. In previous work we proposed a method that, in the event of a failure, extracts test cases solely from the state at the time of the failure (and not from before the failure). We call this method "failure-state extraction." Capturing the state only at the moment of failure reduces the run-time overhead to zero, but comes at a cost: state extracted in this way cannot always be used to re produce the failure. This paper provides an experimental evaluation of failure-state extraction. The results show that the method is highly effective: in the experiment, 90% of all failures were reproducible using failure-state extraction and thus could be extracted without run-time overhead.

: http://publica.fraunhofer.de/dokumente/N-188365.html