Back to Search Start Over

Bucketing Failing Tests via Symbolic Analysis

Authors :
Van-Thuan Pham
Abhik Roychoudhury
Subhajit Roy
Sakaar Khurana
Source :
Fundamental Approaches to Software Engineering ISBN: 9783662544938, FASE
Publication Year :
2017
Publisher :
Springer Berlin Heidelberg, 2017.

Abstract

A common problem encountered while debugging programs is the overwhelming number of test cases generated by automated test generation tools, where many of the tests are likely to fail due to same bug. Some coarse-grained clustering techniques based on point of failure PFB and stack hash CSB have been proposed to address the problem. In this work, we propose a new symbolic analysis-based clustering algorithm that uses the semantic reason behind failures to group failing tests into more "meaningful" clusters. We implement our algorithm within the KLEE symbolic execution engine; our experiments on 21 programs drawn from multiple benchmark-suites show that our technique is effective at producing more fine grained clusters as compared to the FSB and CSB clustering schemes. As a side-effect, our technique also provides a semantic characterization of the fault represented by each cluster--a precious hint to guide debugging. A user study conducted among senior undergraduates and masters students further confirms the utility of our test clustering method.

Details

ISBN :
978-3-662-54493-8
ISBNs :
9783662544938
Database :
OpenAIRE
Journal :
Fundamental Approaches to Software Engineering ISBN: 9783662544938, FASE
Accession number :
edsair.doi...........c311b913f33cedb6748fe00ae8657df0