DocumentCode :
1605352
Title :
ZoomIn: Discovering Failures by Detecting Wrong Assertions
Author :
Pastore, Fabrizio ; Mariani, Leonardo
Author_Institution :
Centre For Security, Reliability & Trust, Univ. of Luxembourg, Luxembourg, Luxembourg
Volume :
1
fYear :
2015
Firstpage :
66
Lastpage :
76
Abstract :
Automatic testing, although useful, is still quite ineffective against faults that do not cause crashes or uncaught exceptions. In the majority of the cases automatic tests do not include oracles, and only in some cases they incorporate assertions that encode the observed behavior instead of the intended behavior, that is if the application under test produces a wrong result, the synthesized assertions will encode wrong expectations that match the actual behavior of the application. In this paper we present Zoom In, a technique that extends the fault-revealing capability of test case generation techniques from crash-only faults to faults that require non-trivial oracles to be detected. Zoom In exploits the knowledge encoded in the manual tests written by developers and the similarity between executions to automatically determine an extremely small set of suspicious assertions that are likely wrong and thus worth manual inspection. Early empirical results show that Zoom In has been able to detect 50% of the analyzed non-crashing faults in the Apache Commons Math library requiring the inspection of less than 1.5% of the assertions automatically generated by EvoSuite.
Keywords :
program testing; software fault tolerance; Apache Commons Math library; EvoSuite; ZoomIn; automatic testing; failure discovery; fault-revealing capability; synthesized assertions; test case generation; wrong assertion detection; Computer crashes; Data mining; Encoding; Generators; Inspection; Law; Manuals; anomaly detection; oracle generation; oracle problem;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location :
Florence
Type :
conf
DOI :
10.1109/ICSE.2015.29
Filename :
7194562
Link To Document :
بازگشت