DocumentCode
2442066
Title
Automated oracle creation support, or: How I learned to stop worrying about fault propagation and love mutation testing
Author
Staats, Matt ; Gay, Geri ; Heimdahl, Mats P. E.
Author_Institution
Div. of Web Sci. & Technol., Korea Adv. Inst. of Sci. & Technol., Daejeon, South Korea
fYear
2012
fDate
2-9 June 2012
Firstpage
870
Lastpage
880
Abstract
In testing, the test oracle is the artifact that determines whether an application under test executes correctly. The choice of test oracle can significantly impact the effectiveness of the testing process. However, despite the prevalence of tools that support the selection of test inputs, little work exists for supporting oracle creation. In this work, we propose a method of supporting test oracle creation. This method automatically selects the oracle data - the set of variables monitored during testing - for expected value test oracles. This approach is based on the use of mutation analysis to rank variables in terms of fault-finding effectiveness, thus automating the selection of the oracle data. Experiments over four industrial examples demonstrate that our method may be a cost-effective approach for producing small, effective oracle data, with fault finding improvements over current industrial best practice of up to 145.8% observed.
Keywords
fault diagnosis; program testing; automated oracle creation support; fault propagation; fault-finding effectiveness; love mutation testing; mutation analysis; oracle data selection; rank variables; testing process; Aerospace electronics; Greedy algorithms; Monitoring; Software systems; Testing; Training; oracle data; oracle selection; test oracles; testing; verification;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location
Zurich
ISSN
0270-5257
Print_ISBN
978-1-4673-1066-6
Electronic_ISBN
0270-5257
Type
conf
DOI
10.1109/ICSE.2012.6227132
Filename
6227132
Link To Document