Laravel test generation with command line

Viewed 71

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.

2 Answers

It was my case once, I also had a dd in my web.php in one of my routes. removing it fixed the issue for me.

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

Related