Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds 'skip_initial_tests' and 'coverage' options support to infection… #1160

Merged
merged 1 commit into from
Nov 26, 2024

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
26 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