pestphp / pest

Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
https://pestphp.com
MIT License
9.63k stars 357 forks source link

Coverage not found in path: ...\vendor\pestphp\.temp\coverage.php #272

Closed jonatandorozco closed 3 years ago

jonatandorozco commented 3 years ago

I'm using Lumen

nunomaduro commented 3 years ago

What coverage driver are you using?

jonatandorozco commented 3 years ago

XDebug 3.0.2 TS

nunomaduro commented 3 years ago

I guess you need to pass the XDEBUG_MODE=coverage option before the command itself.

jonatandorozco commented 3 years ago

I have enabled Coverage mode on php.ini

image

nunomaduro commented 3 years ago

@jonorozcoc You will need to debug this.

jonatandorozco commented 3 years ago

@nunomaduro seems to be something related with Lumen. I tried with a blank Laravel project and it worked as expected. I'll research about it