Title | Finding Bugs by Isolating Unit Tests |
Publication Type | Conference Paper |
Year of Publication | 2011 |
Authors | Muşlu K, Soran B, Wuttke J |
Conference Name | Proceedings 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 |
Pagination | 496–499 |
Date or Month Published | September |
Conference Location | Szeged, 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. |
DOI | 10.1145/2025113.2025202 |
Downloads | http://files.kivancmuslu.com/Publications/2011/MusluSW2011esecfse.pdf PDF |
Citation Key | Muslu11fse |