facile-it / paraunit

Run PHPUnit tests in parallel
https://engineering.facile.it/paraunit/
Apache License 2.0
135 stars 14 forks source link

Support pcov #146

Closed Jean85 closed 4 years ago

Jean85 commented 4 years ago

This will add Pcov as an available driver for collecting code coverage: https://github.com/krakjoe/pcov

Since Pcov and the latest versions of Xdebug are faster, this also changes the order of preferences, and puts PHPDBG as a mere fallback if both the extensions are unavailable.

Jean85 commented 4 years ago

I've also added a behavior that force-enable pcov if it is installed and disabled, so it's used only on PHPUnit subprocesses.