20th IEEE International Conference on Software Maintenance (ICSM'04)
Ordering Broken Unit Tests for Focused Debugging
Chicago, Illinois
September 11-September 14
ISBN: 0-7695-2213-0
Current unit test frameworks present broken unit tests in an arbitrary order, but developers want to focus on the most specific ones first. We have therefore inferred a partial order of unit tests corresponding to a coverage hierarchy of their sets of covered method signatures: When several unit tests in this coverage hierarchy break, we can guide the developer to the test calling the smallest number of methods. Our experiments with four case studies indicate that this partial order is semantically meaningful, since faults that cause a unit test to break generally cause less specific unit tests to break as well.
Index Terms:
Unit testing, debugging
Citation:
Markus Gälli, Michele Lanza, Oscar Nierstrasz, Roel Wuyts, "Ordering Broken Unit Tests for Focused Debugging," icsm, pp.114-123, 20th IEEE International Conference on Software Maintenance (ICSM'04), 2004