alex29's avatar

Why do unit tests extend PHPUnit/Framework/TestCase and not Tests/TestCase?

Is there a good reason why this is so? Because I found that when unit tests extend PHPUnit/Framework/TestCase, it won't have access to laravel helpers such as factory() and probably a whole lot more too.

0 likes
3 replies

Please or to participate in this conversation.