You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://packagist.org/packages/itk-dev/openid-connect-bundle/stats)
10
11
@@ -472,6 +473,27 @@ task test:matrix
472
473
This runs PHPUnit with coverage for each combination and prints a summary of
473
474
pass/fail results.
474
475
476
+
### Mutation Testing
477
+
478
+
Line coverage shows which code the tests *execute*; mutation testing shows
479
+
which code they actually *verify*. [Infection](https://infection.github.io/)
480
+
applies small changes (mutants) to the source code — flipping a comparison,
481
+
removing a method call — and runs the test suite against each one. If the
482
+
tests still pass, the mutant "escaped": a potential bug the tests would not
483
+
catch.
484
+
485
+
```shell
486
+
task test:mutation
487
+
```
488
+
489
+
The minimum mutation score (`minCoveredMsi`) is defined in `infection.json5`
490
+
and enforced both locally and in CI — no command line flags needed. CI
491
+
annotates escaped mutants inline on pull requests, and results for `develop`
0 commit comments