You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($exitCode === 0 && $this->option('coverage')) {
If there is accidentally an empty test case in the test suite (in my case :)), and run php artisan test --coverage, the final test result appears to have passed, but the coverage report does not show up
I'm not sure if this is a bug, but it took me quite a few moments to figure out . I was thinking if it's possible to add a section showing the status of the test result.
The text was updated successfully, but these errors were encountered:
It seems that PHPUnit 10 treats empty test cases differently from PHPUnit 9.
In PHPUnit 9, the result would be
In PHPUnit 10
And because of the exit code check
collision/src/Adapters/Laravel/Commands/TestCommand.php
Line 140 in 2b97fed
If there is accidentally an empty test case in the test suite (in my case :)), and run
php artisan test --coverage
, the final test result appears to have passed, but the coverage report does not show upI'm not sure if this is a bug, but it took me quite a few moments to figure out . I was thinking if it's possible to add a section showing the status of the test result.
The text was updated successfully, but these errors were encountered: