Mutation testing: better code by making bugs

Théo FIDRY (11.May.2018 at 14:30, 1 hr )
Talk at phpDay 2018 (English - UK)

Rating: 4 of 5

Do you test your code? What about your tests? Your tests are code, you need to write, refactor and maintain them. This is not cheap so how do you make sure you are testing enough but not too much? Discover Mutation Testing, a fun tool to make your code better by introducing bugs. -- The first part of the talk is about the costs of the tests to introduce what problem mutation testing is solving. The tests themselves are code, requires to be written and maintain and as such are far from being free. Depending of the maturity level of your application and your deadlines, you need to adjust the level of testing. Mutation testing is a technique that can provide a reliable metric to know how much of your code is actually tested (as opposed to unit test coverage which shows what code has *not* been tested) and as such provides a tool for both the team to control their level of tests and the business to have a trustworthy metric. The second part is about mutation testing itself: the theory, a demo of the PHP library Infection, pros/cons of that solution and the further development planned for this tool

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 3 of 5

11.May.2018 at 15:21 by Francesca Borra (26 comments) via Web2 LIVE

Interesting approach, it seems somehow out of reach, though, maybe for the youth of the technology

Rating: 4 of 5

11.May.2018 at 15:32 by Alessandro Lai (89 comments) via Android app

Talk was about nice and strong concepts; I would work a bit on English pronunciation and on the theoretical part of the talk, which was a bit long, even if interesting.

Rating: 5 of 5

11.May.2018 at 15:57 by Tomasz Durka (1 comments) via Web2 LIVE

Great talk with some fresh (in fact old) topic. Definitely will try it out. Great presentation with academical, in-depth approach. I hope the slides will be available online soon :)

Rating: 4 of 5

11.May.2018 at 19:38 by Samuele Lilli (82 comments) via Web2 LIVE

Interesting subject.
Maybe if the tools were around for more time other suggestion could be given but actually the concepts behind the topic were interesting and well explained.

Rating: 4 of 5

12.May.2018 at 20:25 by Luka Mužinić (64 comments) via Web2 LIVE

Nice talk! Thanks for the part with tactics to speed things up.

Rating: 5 of 5

12.May.2018 at 22:04 by Ani Sinanaj (10 comments) via Web2 LIVE

This is one thing I knew nothing about and now I'm going to try to include it in as many projects as I can

Rating: 5 of 5

21.May.2018 at 22:23 by Stefano Consolaro (7 comments) via Web2 LIVE

Interesting even for those who do not use (yet :-o ) tests

© 2019