我已经安装了 Lumen 5.2.8。我正在尝试使用 phpunit 对应用程序进行单元测试。但是当我尝试运行命令时 php artisan make:test UserTest
它抛出一个异常
Command "make:test" is not defined.
我该如何解决这个问题?
最佳答案
没有make:test
命令,您需要手动创建TestCase。
按照文档 here .
关于laravel - 流明 5.2 使 :test command is missing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38873134/