TitleFinding Bugs by Isolating Unit Tests
Publication TypeConference Paper
Year of Publication2011
AuthorsMuşlu K, Soran B, Wuttke J
Conference NameProceedings of the 8th Joint Meeting of the European Software Engineering Conference and ACM SIGSOFT Symposium on the Foundations of Software Engineering, New Ideas and Emerging Results Track
Pagination496–499
Date or Month PublishedSeptember
Conference LocationSzeged, Hungary
Abstract

Even in simple programs there are hidden assumptions and dependencies between units that are not immediately visible in each involved unit. These dependencies are generally hard to identify and locate, and can lead to subtle faults that are often missed, even by extensive test suites.

We propose to leverage existing test suites to identify faults due to hidden dependencies and to identify inadequate test suite design. Rather than just executing entire test suites within frameworks such as JUnit, we execute each test in isolation, thus removing masking effects that might be present in the test suites. We hypothesize that this can reveal previously hidden dependencies between program units or tests.

A preliminary study shows that this technique is capable of identifying subtle faults that have lived in a system for 120 revisions, despite failures being reported and despite attempts to fix the fault.

DOI10.1145/2025113.2025202
Downloads

http://files.kivancmuslu.com/Publications/2011/MusluSW2011esecfse.pdf PDF
http://files.kivancmuslu.com/Publications/2011/MusluSW2011esecfse.bib BibTex
http://files.kivancmuslu.com/Publications/2011/MusluSW2011esecfse-slides... Slides

Citation KeyMuslu11fse