I have installed Lumen 5.2.8. I am trying to unit test the app using phpunit. But when I tried to run the command php artisan make:test UserTest
it throws an exception
Command "make:test" is not defined.
How can I solve this issue?
I have installed Lumen 5.2.8. I am trying to unit test the app using phpunit. But when I tried to run the command php artisan make:test UserTest
it throws an exception
Command "make:test" is not defined.
How can I solve this issue?
There is no make:test
command, you need to create the TestCase manually.
Follow the documentation here.