DocumentCode :
492661
Title :
On the Effectiveness of Test Extraction without Overhead
Author :
Leitner, Andreas ; Pretschner, Alexander ; Mori, Stefan ; Meyer, Bertrand ; Oriol, Manuel
Author_Institution :
Dept. of Comput. Sci., ETH Zurich, Zurich
fYear :
2009
fDate :
1-4 April 2009
Firstpage :
416
Lastpage :
425
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 reproduce 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.
Keywords :
program testing; software engineering; ad-hoc tests; failure-state extraction; software development; test extraction; Automatic testing; Computer science; Costs; Databases; Hardware; Logic testing; Performance evaluation; Runtime; Software testing; Writing; extraction; test;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing Verification and Validation, 2009. ICST '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-3775-7
Electronic_ISBN :
978-0-7695-3601-9
Type :
conf
DOI :
10.1109/ICST.2009.30
Filename :
4815375
Link To Document :
بازگشت