| Efficient unit test case minimization |
| Full text |
Pdf
(1.43 MB)
|
Source
|
Automated Software Engineering
archive
Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering
table of contents
Atlanta, Georgia, USA
POSTER SESSION: Posters
table of contents
Pages 417-420
Year of Publication: 2007
ISBN:978-1-59593-882-4
|
|
Authors
|
|
Andreas Leitner
|
ETH Zurich, Zurich, Switzerland
|
|
Manuel Oriol
|
ETH Zurich, Zurich, Switzerland
|
|
Andreas Zeller
|
Saarland University, Saarbruecken, Germany
|
|
Ilinca Ciupa
|
ETH Zurich, Zurich, Switzerland
|
|
Bertrand Meyer
|
ETH Zurich, Zurich, Switzerland
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 18, Downloads (12 Months): 113, Citation Count: 1
|
|
|
ABSTRACT
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%. This approach improves on the state of the art by being far more efficient: in contrast to the approach of Lei and Andrews, who use delta debugging alone, our case study found slicing to be 50 times faster, while providing comparable results. The combination of slicing and delta debugging gives the best results and is 11 times faster.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
|
 |
3
|
Neelam Gupta , Haifeng He , Xiangyu Zhang , Rajiv Gupta, Locating faulty code using failure-inducing chops, Proceedings of the 20th IEEE/ACM international Conference on Automated software engineering, November 07-11, 2005, Long Beach, CA, USA
[doi> 10.1145/1101908.1101948]
|
| |
4
|
GUPTA, R., HARROLD, M. J., AND SOFFA, M. L. Program slicing-based regression testing techniques. Softw. Test, Verif. Reliab 6, 2 (1996), 83--111.
|
| |
5
|
|
| |
6
|
|
| |
7
|
MEYER, B., CIUPA, I., LEITNER, A., AND LIU, L. L. Automatic testing of object-oriented software. In Proceedings of SOFSEM 2007 (Current Trends in Theory and Practice of Computer Science) (2007), J. van Leeuwen, Ed., Lecture Notes in Computer Science, Springer-Verlag.
|
 |
8
|
|
 |
9
|
|
| |
10
|
|
 |
11
|
Xiangyu Zhang , Haifeng He , Neelam Gupta , Rajiv Gupta, Experimental evaluation of using dynamic slices for fault location, Proceedings of the sixth international symposium on Automated analysis-driven debugging, p.33-42, September 19-21, 2005, Monterey, California, USA
[doi> 10.1145/1085130.1085135]
|
|