sebastianbergmann / phpcov

TextUI frontend for php-code-coverage
BSD 3-Clause "New" or "Revised" License
226 stars 58 forks source link

cannot merge multiple .cov files #63

Closed i928 closed 6 years ago

i928 commented 7 years ago

I run merge command ./phpcov merge c:/inetpub/wwwroot/ccn/reports/coverage --clover tmp/clover.xml and get following error. Generating code coverage report in Clover XML format ... done Failed to merge: C:\inetpub\wwwroot\ccn\reports\coverage\590f7c0fe27b2.cov Failed to merge: C:\inetpub\wwwroot\ccn\reports\coverage\590f7cbc2f7e5.cov attach these 2 files. 590f7cbc2f7e5.txt 590f7c0fe27b2.txt

sk33wiff commented 6 years ago

I'm not sure but, according to the docs, I think the *.cov files need to be in php format: --coverage-php=${filename}.cov

sebastianbergmann commented 6 years ago

Yes, they need to be in PHP format.