Closed jonatandorozco closed 3 years ago
What coverage driver are you using?
XDebug 3.0.2 TS
I guess you need to pass the XDEBUG_MODE=coverage
option before the command itself.
I have enabled Coverage mode on php.ini
@jonorozcoc You will need to debug this.
@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
Operating system: WINNT
at D:\projects\sani\sani-media-service\vendor\pestphp\pest\src\Exceptions\ShouldNotHappen.php:38 34▕ Creates a new instance of should not happen without a specific exception. 35▕ / 36▕ public static function fromMessage(string $message): ShouldNotHappen 37▕ { ➜ 38▕ return new ShouldNotHappen(new Exception($message)); 39▕ } 40▕ } 41▕
1 D:\projects\sani\sani-media-service\vendor\pestphp\pest-plugin-coverage\src\Coverage.php:48 Pest\Exceptions\ShouldNotHappen::fromMessage("Coverage not found in path: D:\projects\sani\sani-media-service\vendor\pestphp.temp\coverage.php.")
2 D:\projects\sani\sani-media-service\vendor\pestphp\pest-plugin-coverage\src\Plugin.php:104 Pest\PluginCoverage\Coverage::report(Object(Symfony\Component\Console\Output\ConsoleOutput))
I'm using Lumen