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
I have never been able to get php artisan test --profile working. I dug deep today and i ended up in vendor/nunomaduro/collision/src/Adapters/Phpunit/Printers/DefaultPrinter.php
on line 422, when I move
$this->style->writeSlowTests($this->profileSlowTests, $event->telemetryInfo());
outside the IF block, I get profile results as expected.
Seems to me, that $failed = !Facade::result()->wasSuccessful(); does return TRUE on line 414 as expected
BUT
The IF on line 421 negates the $failed to evaluate the true as false, thus failing the check, thus the profile results are not printed. See full block below.
If this is the issue, i'll PR it, or am i missing something obvious?
I have never been able to get php artisan test --profile working. I dug deep today and i ended up in vendor/nunomaduro/collision/src/Adapters/Phpunit/Printers/DefaultPrinter.php
on line 422, when I move
$this->style->writeSlowTests($this->profileSlowTests, $event->telemetryInfo());
outside the IF block, I get profile results as expected.
Seems to me, that $failed = !Facade::result()->wasSuccessful(); does return TRUE on line 414 as expected
BUT
The IF on line 421 negates the $failed to evaluate the true as false, thus failing the check, thus the profile results are not printed. See full block below.
If this is the issue, i'll PR it, or am i missing something obvious?
The text was updated successfully, but these errors were encountered: