What’s new in Infection 0.23.0
Release: https://github.com/infection/infection/releases/tag/0.23.0
BC Breaks
- Ignoring mutating code commented with
@codeCoverageIgnoreis no longer supported. Use@infection-ignore-allinstead. See https://infection.github.io/guide/usage.html#infection-ignore-all-support
Pest Test Framework support
Pest is getting more and more popular nowadays. Together with the Pest team, we’ve added support for this test framework in Infection.
Install Infection using for example Composer package:
bash
composer require infection/infection --devThen, you can run mutation testing for Pest:
bash
XDEBUG_MODE=coverage vendor/bin/infection --test-framework=pest --show-mutationsEnjoying Infection? Consider supporting us on GitHub Sponsors ♥️