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

Open
wants to merge 1 commit into
base: v2.x
Choose a base branch
from

Conversation

jose-ba
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant