Summer Sale! All accounts are 50% off this week.

trevorpan's avatar

............................null

Morning,

This one's weird. I have never had zero output when running phpunit.

I did find a post where I added this line: <ini name="display_errors" value="true"/> to phpunit.xml

Then I php artisan optimize:clear and reran it. Tests keep failing silently.

Anyone have any ideas on this?

0 likes
2 replies
tykus's avatar
tykus
Best Answer
Level 104

Looks like you have a test where you're dding some variable/value. Try to isolate it:

./vendor/bin/phpunit --testdox
trevorpan's avatar

@tykus that's a nice flag. had not heard of that one!

You know what was interesting. There wasn't a dd on that failing test but I did find the problem test!

Thank you so much.

1 like

Please or to participate in this conversation.