Laracon was earlier this week. I watched some of it. Pest PHP 3.0 is coming out soon. One heralded feature is mutation testing. And the demo was super cool. First, run tests that show 100% coverage. Then run the same tests with mutation testing to reveal you don’t have full test coverage.
I used mutation testing a few years back. It was an awesome approach to a new project. I haven’t bothered since then because I haven’t been building anything of consequence. But, I would really like to implement mutation testing from the start on my next side project. Coupling that with GrumPHP will make for some interesting sessions. I wonder if I’ll end up annoyed with the constant need to actually reach 100% coverage rather than the predominantly happy path testing I do now.