-
Notifications
You must be signed in to change notification settings - Fork 73
Missing coverage file in blank project #159
Comments
I have the same on PHP 7 |
Getting this on PHP 5.6.16 during first run. |
Can you try adding humbug to your local composer file and check if that works? |
Tried doing this, but since the codebase I'm working on is still Laravel 4.2, getting dependency conflicts. Will have to try this on a newer codebase |
Same here. php 5.6.18 (on windows). |
Same here, php 7.0.8, installed globally, cannot install locally because of symfony/console 2.6 |
Same problem, Centos 5.6, PHP 5.6, PHPUnit 4.8.27, Laravel 5.2 project I did some poking and I think I've found a workaround. Once you get the The actual bug appears to be related to the execution of |
The problem occurs here I think: https://github.com/humbug/humbug/blob/master/src/Adapter/Phpunit/Process/PhpunitExecutableFinder.php#L105 While it seems to cause no issues on Ubuntu here (or on Travis obviously), this function and line is prefixing the phpunit script with |
I see this error, with "Windows 10" + "git bash" + "PHP 7.0.21" (with Xdebug v2.5.5)
solution: uninstall old PHPUnit mv C:\xampp\php\pear\PHPUnit C:\xampp\php\pear_old\PHPUnit vendor/composer/bin/phpunit --configuration=/tmp/humbug/phpunit.humbug.xml --stop-on-failure --tap vendor/composer/bin/humbug
|
Indeed this can be due to a lot of things, checking which PHPUnit is used with which config is a good lead. Making it easier to debug would be a nice to have in future versions |
I've just downloaded Humbug (via Composer global) and am running it on the rasmus PHP7 dev box. I've done a basic configuration and when I try to run Humbug it looks for /tmp/humbug/coverage.humbug.php which doesn't (yet) exist (as this is the first time I've used humbug).
Details:
The text was updated successfully, but these errors were encountered: