Search code examples
phplaravelunit-testinglaravel-artisan

Laravel test generation with command line


Whenever I try to generate a test case with laravel php artisan make:test [testName], it always return false and the test will not be generated.


Solution

  • Make sure that none of your routes specially your main route does not return laravel dd()