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

Allow to disable coverage.serialized report and reduce memory usage. #6760

Open
adrenalinkin opened this issue May 18, 2024 · 0 comments · May be fixed by #6761
Open

Allow to disable coverage.serialized report and reduce memory usage. #6760

adrenalinkin opened this issue May 18, 2024 · 0 comments · May be fixed by #6761

Comments

@adrenalinkin
Copy link

adrenalinkin commented May 18, 2024

What are you trying to achieve?

Currently SebastianBergmann\CodeCoverage\Report\PHP runs by default
Saving this report consumes a lot of memory for the large projects.
I want to be able to disable generating this type of coverage report.

What do you get instead?

My propose to add some new option --disable-coverage-php this will not provoke BC changes

php bin/codecept run unit --coverage --coverage-html --disable-coverage-php

Or changing behaviur of the CLI. If we was't call --coverage option but call any other --coverage-* format than don't generate default php serialize report.

php bin/codecept run unit --coverage-html
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 a pull request may close this issue.

1 participant