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
- Programmers use slices when debugging
- Dynamic program slicing
- Simplifying and isolating failure-inducing input
- Dynamic program slicing
- Incremental regression testing
- Dynamic slicing of computer programs
- Locating faulty code using failure-inducing chops
- Experimental evaluation of using dynamic slices for fault location
- Program Slicing-Based Regression Testing Techniques
- Minimization of Randomized Unit Test Cases