Mutation Testing for Java

Groupe public
Image du lieu de l'événement


(Meetup en français)

This talk introduces and illustrates the benefits of mutation testing to assess the quality of test suites. The intuition of this technique is simple: to determine if a test suite can detect bugs in a program, simply inject bugs in this program and check if the tests can detect them.

In this talk, I cover the following points :
- the key principles of mutation analysis.
- the Pit tool to perform mutation analysis on Java program to assess the quality of JUnit test suites.
- the Descartes tool, an extension of Pit to scale mutation analysis to large Java projects
- concrete examples of weaknesses in the test suite that are revealed by mutation analysis
- the integration of Descartes in the new check API provided by Github

Speaker: Benoit Baudry

Benoit Baudry is a Professor of Software Technology at the KTH Royal Institute of Technology in Stockholm, Sweden. From 2004 to 2017, he was a research scientist at INRIA in Rennes, France. There, he led the DiverSE research group, one of the largest French group for software research, from 2013 to 2017.
His research interests are in the areas of software diversification and testing ifor DevOps and moving target defenses. His work relies on experimental science and strong collaborations with the software industry, in order to develop sound and relevant results.