Skip to content

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

@adrenalinkin

Description

@adrenalinkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions