Title | Automatic generation of oracles for exceptional behaviors |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Goffi A, Gorla A, Ernst MD, Pezzè M |
Conference Name | ISSTA 2016, Proceedings of the 2016 International Symposium on Software Testing and Analysis |
Pagination | 213–224 |
Date or Month Published | July |
Conference Location | Saarbrücken, Genmany |
Abstract | Test suites should test exceptional behavior to detect faults in error-handling code. However, manually-written test suites tend to neglect exceptional behavior. Automatically-generated test suites, on the other hand, lack test oracles that verify whether runtime exceptions are the expected behavior of the code under test. \par This paper proposes a technique that automatically creates test oracles for exceptional behaviors from Javadoc comments. The technique uses a combination of natural language processing and run-time instrumentation. Our implementation, Toradocu, can be combined with a test input generation tool. Our experimental evaluation shows that Toradocu improves the fault-finding effectiveness of basefilename = "exception-oracles-issta2016 |
Downloads | https://github.com/albertogoffi/toradocu Toradocu implementation
|
Citation Key | GoffiGEP2016 |