Improve Testing Code Quality with Mutation Testing

Unit testing ensures your production code is relevant. But what does ensure your testing code is relevant? Come discover mutation testing and make sure your never forget another assert again.

In the realm of testing, the code coverage metrics is the most often talked about. However, it doesn't mean that the test has been useful or even that an assert has been coded. Mutation testing is a strategy to make sure that the test code is relevant.

In this talk, I will explain how Code Coverage is computed and what its inherent flaw is. Afterwards, I will describe how Mutation Testing work and how it helps pointing out code that is tested but leave out corner cases. I will also demo PIT, a Java production-grade framework that enables Mutation Testing on a simple code base. If time allows, a demo will also show how PIT can be integrated with Sonar.

Nicolas Fränkel 

Software Architect with 12+ years experience consulting for many different customers, in a wide range of contexts (such as telecoms, banking, insurances, large retail and public sector). Generally focused on Java and JavaEE technologies, but narrowed interests like Software Quality, Build Processes and Rich Internet Applications.

Currently working for a eCommerce solution vendor leader. Also double as a teacher in universities and higher education schools, and a trainer for experienced pros, and triples as a book author.

Евгений Мандриков 

Software Gardener с пристрастием к open-source разработкам и качественному коду. Начинал карьеру со школьных олимпиад по программированию, а затем и студенческих. На данный момент Евгений имеет за плечами порядка 11-и лет опыта разработки различных приложений на Java. И занимает должность технического лидера SonarSource Language Team, работая над анализаторами программ написанных на Java, C/C++, C#, JavaScript, COBOL. В свободное время занимается поддержкой и разработкой различных open-source проектов, таких как EclEmma, JaCoCo и Maven.