facile-it / paraunit

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

Add phpdbg check to builds #76

Closed dxops closed 7 years ago

dxops commented 7 years ago

Works much faster, on big codebase it's better to use phpdbg instead of xdebug

phpdbg -qrr bin/phpunit --testsuite=unit  --coverage-text
Jean85 commented 7 years ago

It's already supported! The only thing that you have to do is have the PHPDBG binary available in your environment, and disable xdebug (to avoid excessive memory consumption).

I've already amended the docs to mention this: http://engineering.facile.it/paraunit/documentation/#coverage-command

dxops commented 7 years ago

Thanks, I saw it right after issue created. Should we use it on travis?

Jean85 commented 7 years ago

Do you mean to collect coverage for your own project? Or for Paraunit itself?

dxops commented 7 years ago

Both ways should be checked continuously

Jean85 commented 7 years ago

With Paraunit it's checked at startup, and it writes it too after the title; in Travis, I think I will add it, if PHPDBG is present or it's fast to install.

Jean85 commented 7 years ago

I've tried to add it on Travis and failed, PHPDBG is not present there, due to travis-ci/travis-ci/issues/6323

dxops commented 7 years ago

We can use it for php7 only. The main goal is to make sure it works

Jean85 commented 7 years ago

It's not there, no matter PHP version. So: