phpchunkit icon indicating copy to clipboard operation
phpchunkit copied to clipboard

Add support for generating coverage reports

Open jwage opened this issue 9 years ago • 4 comments

We will need the ability to generate coverage reports for unit and functional tests and the ability to merge many reports to one.

jwage avatar Oct 23 '16 19:10 jwage

@jwage You may find https://github.com/andreas-weber/php-junit-merge and https://github.com/sebastianbergmann/phpcov relevant for this feature.

tomzx avatar Oct 27 '16 20:10 tomzx

@tomzx great. thanks!

jwage avatar Oct 27 '16 20:10 jwage

Allowed phpunit options to be passed through here 568fa0549a199305de4451e6985f2e45e4daa780

phpchunkit --phpunit-opt="--coverage-html /path/to/save/coverage"

I need to think more about how to actually make it useful when running multiple chunks.

jwage avatar Oct 29 '16 01:10 jwage

I'm working on something similar in my own facile-it/paraunit, the coverage feature is nearly complete. Ask away if you need anything!

Jean85 avatar Oct 30 '16 14:10 Jean85