简体   繁体   中英

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.

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()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM