Test oracle assessment and improvement

Gunel Jahangirova, David Clark, Mark Harman, Paolo Tonella
2016 Proceedings of the 25th International Symposium on Software Testing and Analysis - ISSTA 2016  
We introduce a technique for assessing and improving test oracles by reducing the incidence of both false positives and false negatives. We prove that our approach can always result in an increase in the mutual information between the actual and perfect oracles. Our technique combines test case generation to reveal false positives and mutation testing to reveal false negatives. We applied the decision support tool that implements our oracle improvement technique to five real-world subjects. The
more » ... experimental results show that the fault detection rate of the oracles after improvement increases, on average, by 48.6% (86% over the implicit oracle). Three actual, exposed faults in the studied systems were subsequently confirmed and fixed by the developers.
doi:10.1145/2931037.2931062 dblp:conf/issta/JahangirovaCHT16 fatcat:smdllafk3vaghigznopft6djru