@conference {KuhnXP2008, title = {JExample: Exploiting Dependencies Between Tests to Improve Defect Localization}, booktitle = {Proceedings {XP}{\textquoteright}08 (9th International Conference on Extreme Programming and Agile Processes in Software Engineering}, year = {2008}, note = {[Acceptance ratio: 16/54 = 30\%]}, month = {apr}, publisher = {Springer-Verlag}, organization = {Springer-Verlag}, abstract = {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 refactored 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.}, isbn = {978-3-540-68254-7}, doi = {http://dx.doi.org/10.1007/978-3-540-68255-4_8}, author = {Adrian Kuhn and Bart Van Rompaey and Lea H{\"a}nsenberger and Oscar Nierstrasz and Serge Demeyer and Markus Gaelli and Koenraad Van Leemput}, editor = {P. Abrahamsson} }