Skip to content

Conversation

@jose-ba
Copy link
Contributor

@jose-ba jose-ba commented Nov 15, 2024

Infection task.

Q A
Branch v2.x
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets none

This pull request adds the options 'skip_initial_tests' and 'coverage' to the Infection task.

So far, when the Infection task is run, all tests are run to check that they pass, also generating the necessary code coverage to detect the mutants. This is the default operation of infection, but it also has the options 'skip_initial_tests' and 'coverage' that allow to reuse the code coverage generated from PHPUnit, speeding up the Infeciton task.

@veewee veewee added this to the 2.10.0 milestone Nov 26, 2024
@veewee veewee merged commit d1a72f4 into phpro:v2.x Nov 26, 2024
25 checks passed
@veewee
Copy link
Contributor

veewee commented Nov 26, 2024

Looks good, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants