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
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;
Conference_Titel :
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1066-6
Electronic_ISBN :
0270-5257
DOI :
10.1109/ICSE.2012.6227132