Information and Media Technologies
Online ISSN : 1881-0896
Computing
Test-driven Fault Navigation for Debugging Reproducible Failures
Michael PerscheidMichael HauptRobert HirschfeldHidehiko Masuhara
Author information
JOURNALS FREE ACCESS

Volume 7 (2012) Issue 4 Pages 1377-1400

Details
Download PDF (1517K) Contact us
Abstract

Debugging failing test cases, particularly the search for failure causes, is often a laborious and time-consuming activity. With the help of spectrum-based fault localization developers are able to reduce the potentially large search space by detecting anomalies in tested program entities. However, such anomalies do not necessarily indicate defects and so developers still have to analyze numerous candidates one by one until they find the failure cause. This procedure is inefficient since it does not take into account how suspicious entities relate to each other, whether another developer is better qualified for debugging this failure, or how erroneous behavior comes to be.
We present test-driven fault navigation as an interconnected debugging guide that integrates spectrum-based anomalies and failure causes. By analyzing failure-reproducing test cases, we reveal suspicious system parts, developers most qualified for addressing localized faults, and erroneous behavior in the execution history. The Paths tool suite realizes our approach: PathMap supports a breadth first search for narrowing down failure causes and recommends developers for help; PathFinder is a lightweight back-in-time debugger that classifies failing test behavior for easily following infection chains back to defects. The evaluation of our approach illustrates the improvements for debugging test cases, the high accuracy of recommended developers, and the fast response times of our corresponding tool suite.

Information related to the author
© 2012 Japan Society for Software Science and Technology
Previous article Next article

Recently visited articles
feedback
Top