TitleAutomatic generation of oracles for exceptional behaviors
Publication TypeConference Paper
Year of Publication2016
AuthorsGoffi A, Gorla A, Ernst MD, Pezzè M
Conference NameISSTA 2016, Proceedings of the 2016 International Symposium on Software Testing and Analysis
Pagination213–224
Date or Month PublishedJuly
Conference LocationSaarbrücken, Genmany
AbstractTest 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
Downloadshttps://github.com/albertogoffi/toradocu Toradocu implementation
Citation KeyGoffiGEP2016