To quickly localize defects, we want our attention to be focussed on relevant failing tests. We propose to improve defect localization by exploiting dependencies between tests, using a JUNIT extension called JEXAMPLE. In a case study, a monolithic white-box test suite for a complex algorithm is refac-tored into two traditional JUNIT style tests and to JEXAMPLE. Of the three refactorings, JEXAMPLE reports five times fewer defect locations and slightly better performance (-8-12%), while having similar maintenance characteristics. Compared to the original implementation, JEXAMPLE greatly improves maintainability due the improved factorization following the accepted test quality guidelines. As such, JEXAMPLE combines the benefits of test chains with test quality aspects of JUNIT style testing. © Springer-Verlag Berlin Heidelberg 2008.
CITATION STYLE
Kuhn, A., Van Rompaey, B., Haensenberger, L., Nierstrasz, O., Demeyer, S., Gaelli, M., & Van Leemput, K. (2008). JExample: Exploiting dependencies between tests to improve defect localization. In Lecture Notes in Business Information Processing (Vol. 9 LNBIP, pp. 73–82). Springer Verlag. https://doi.org/10.1007/978-3-540-68255-4_8
Mendeley helps you to discover research relevant for your work.