Efficient unit test case minimization

Andreas Leitner, Manuel Oriol, Andreas Zeller et al. · 2007

Randomized unit test cases can be very effective in detecting defects. In practice, however, failing test cases often comprise long sequences of method calls that are tiresome to reproduce and debug. We present a combination of static slicing and delta debugging that automatically minimizes the sequence of failure-inducing method calls. In a case study on the EiffelBase library, the strategy minimizes failing unit test cases on average by 96%.

Cited by 106 works. doi:10.1145/1321631.1321698

Authors

References