Mutation Testing library for PHP based on AST

Poland
Joined July 2017
Infection now has a refreshed Playground. infection-php.dev
8
20
1,935
Thanks @wikando for sponsoring Infection ♥️
4
911
Infection PHP retweeted
Anyone using agents/tools to do mutation testing? Seems like it would ROCK during automated review for flushing out which branches of the code are actually covered by tests.
87
6
2
389
70,505
Infection 0.34.0 is out! 🎉 It introduces a new feature for filtering source files to mutate and tests to run. Learn why it matters and how to use it: infection.github.io/guide/ar…
2
13
1,472
Infection 0.33.0 has been released. - Testo test framework support (by @roxblnfk) - Allow using the full width of the terminal for console output Enjoy!
2
3
1
12
1,993
Do you use Infection with AI-generated code/tests? If so, what is the workflow / skills / prompts? Is there anything we need to improve here to make it more useful?
4
4
10
991
Infection PHP retweeted
Lately I've been working on integrating #Testo #PHP with @infection_php There's still more ahead, but in the meantime you can read my fresh article about mutation testing php-testo.github.io/docs/the…
3
1
10
1,257
Infection PHP retweeted
Replying to @infection_php
I use it in a project and it's a killer feature! 🚀
1
1
2
434
Now officially: Infection supports killing mutants by Static Analysis tools: - PHPStan - Mago infection.github.io/guide/st… Enjoy!
4
14
52
2,540
Infection 0.32.3 has been released with new `--max-timeouts` and `--with-timeouts` options. Read the details in this blog post to understand how it helps with speeding up Mutation Testing and why you should start using them! infection.github.io/2026/01/… Thanks @sanmai!
1
2
11
503
Looks like #phpunit xml code-coverage generation could get nearly twice as fast in the future. this would for example considerably reduce overhead of the necessary "initial-test" step when running @infection_php on your project.
1
1
17
1,289
💡TIP: It's worth to remind that you can use `php://stdout` or `php://stderr` channels to report Infection's details directly to the console when you use it on CI, for example.
The next version of Infection will have an ability to log mutation results directly to stdout/stderr, which is useful for CI. Thank you @duncan3dc
1
5
803
Thank you @lambdatesting for sponsoring our Open Source work on Infection. We already have 4 companies and a bunch of individuals who support us on GitHub. If you or you company(!) relies on Infection - please support us. github.com/sponsors/infectio… Thank you all.
2
6
403
Blogged about my hands-on experience with @infection_php Its a short super top level article to give you an overall idea what to expect from it. what do you think about that? feedback welcome. staabm.github.io/2025/08/01/…
2
3
376