How to make PHPUnit partially regenerate a code coverage HTML log

205 Views Asked by At

I'm using PHPUnit to generate code coverage data using the HTML logging type. Sometimes I'll generate a full coverage log across the whole codebase, and then rerun the tests with coverage on a smaller subset of the codebase from within PHPStorm.

Unfortunately, the newly generated coverage report will only show coverage for the smaller subset of the codebase, with the rest of the codebase shown at 0% coverage. The previously generated coverage information has been lost.

Is there any way to configure things so that the newly generate coverage log on the small subset of tests will be combined with the old coverage log?

0

There are 0 best solutions below