Note Tag: php
-
Mutation Testing
—
by
Pest 3.0 is now available and the one feature I’m most excited about is mutation testing. I first tried mutation testing was with Infection PHP. It was not easy – and the results were horrifying. Using mutation testing I discovered my coverage of 85% was more likely in the teens. I fiddled with config to…
-
TDD & Reality
—
by
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…
-
GrumPHP
—
by
I have terrible code habits on my personal projects. PHPStorm is configured for formatting, but I’ll do lazy things like omit return types and only run tests right before I’m done with a session. If a test fails I’ll leave it for next time (sometimes). So, I’m revisiting and old friend – GrumPHP. Essentially, it…