Infection PHP

418 posts

Infection PHP

Infection PHP

@infection_php

Mutation Testing library for PHP based on AST

Poland เข้าร่วม Temmuz 2017
1 กำลังติดตาม2.3K ผู้ติดตาม
Oskar Stark
Oskar Stark@OskarStark·
Hot take: 100% code coverage is a vanity metric. 📊 I'd rather have 60% coverage of critical paths than 100% coverage of getters, setters etc. Agree or disagree? 🤔
English
7
0
15
1.5K
Matt Pocock
Matt Pocock@mattpocockuk·
Frontend is WAY harder for AI than backend. That's because it's flying blind. It can't test the code in the environment where it's running - the browser. Here's how to hook up AI to your browser:
English
154
193
2.9K
219.7K
Infection PHP
Infection PHP@infection_php·
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/14/wha… Thanks @sanmai!
English
0
2
11
424
Infection PHP
Infection PHP@infection_php·
🎄 Xmas present Infection 0.32.0 has been released: - Format-presering pretty printing - new GitHub loggers with collapsable sections - Symfony 8 support; webmozart/assert@v2 support - and much more github.com/infection/infe…
English
0
9
18
1.3K
Infection PHP รีทวีตแล้ว
markus staab | @markusstaab@phpc.social
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.
markus staab | @markusstaab@phpc.social tweet media
English
1
1
17
1.3K
Infection PHP
Infection PHP@infection_php·
.@xepozz started working on Infection Plugin for @phpstorm, please share your ideas here: github.com/infection/infe… - What would you like to see? - How would you use it? - Where would you want to see Mutants diffs? Let's make it useful.
English
0
6
12
809
PhpStorm, a JetBrains IDE
We want the PHP open source community to thrive. That's why we're now committed to sponsor 5 open source projects per year: blog.jetbrains.com/phpstorm/2025/… There's actually one more spot open for 25-26, which project would you suggest we sponsor?
English
142
19
142
41K
Infection PHP
Infection PHP@infection_php·
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/infec… Thank you all.
Infection PHP tweet media
English
0
2
6
392
Infection PHP
Infection PHP@infection_php·
@krakjoe Interesting! Will it be possible to install composer packages?
English
0
0
2
183
Infection PHP รีทวีตแล้ว
markus staab | @markusstaab@phpc.social
In case you are getting timed-out #mutants while mutation testing with @infection_php (e.g. because of infinite loops), the upcoming release should run faster for you. on infection/infection with 16 timed-out mutants, we saw a ~21% perf boost 🚀
English
0
2
6
326
Roman Pronskiy
Roman Pronskiy@pronskiy·
Hey! I’m putting together the next PHP Annotated. If you’ve worked on something cool lately and want it featured, feel free to drop it in this thread or DM me
English
25
15
61
6.9K
Infection PHP
Infection PHP@infection_php·
@G_Gilles31 not sure it's clear what needs to be done. Could you please create a feature request on Infection GitHub repo so we can have examples & discussion? Thank you.
English
0
0
0
11
Gilles Gauthier
Gilles Gauthier@G_Gilles31·
@infection_php Why not a PHP attribute for Infection on a class that allows specifying a minimum coverage percentage? For example, the overall project coverage is set to 100%, but for a specific class, we allow 50%.
English
1
0
0
14
Infection PHP
Infection PHP@infection_php·
Periodic question: what is the most wanted feature you would like us to implement in the near future? Any ideas or something that bothers you?
English
3
2
6
738
Infection PHP
Infection PHP@infection_php·
So now we have an experimental @phpstan integration in Infection, by `--static-analysis-plugin=phpstan`. Let's try to do the same for @psalmphp - created a feature request to make it possible: github.com/vimeo/psalm/di… Give it some love!
English
1
3
8
828
Infection PHP รีทวีตแล้ว
markus staab | @markusstaab@phpc.social
past few weeks I have concentrated my opensource efforts onto @infection_php. focus was on developer experience - make it easer for newcomers to apply the tool and reduce noise by removing redundant mutations. this got just released. feedback welcome. #dx #mutationtesting
markus staab | @markusstaab@phpc.social tweet mediamarkus staab | @markusstaab@phpc.social tweet media
English
0
3
11
618
Infection PHP
Infection PHP@infection_php·
@MabarDev Interesting. Would you mind creating an issue so we can discuss it farther on GH?
English
0
0
0
70
Marek Bartoš
Marek Bartoš@MabarDev·
@infection_php No mutating of strings passed to filesystem functions. Fortunately it deleted just the project and not the whole system 😆 Including wrappers like symfony/filesystem Perhaps phpstan would be able to track that?
English
1
0
0
50