miguellima
3 weeks ago
143
4
Testing

Laravel Test Pass when run single test, but fails when running all tests

Posted 3 weeks ago by miguellima

Hi, everyone,

So I just got stuck on testing, because when I ran my test individually it got success.

When I run all tests, that test fails.

When I enable processIsolation in phpunit.xml, and run all tests I got success.

Any ideas what might would be?

note: I don't want to use processIsolation because testing time increases 5 times

Please sign in or create an account to participate in this conversation.