我正在尝试在Laravel项目中设置
PHPunit(使用Vagrant和VirtualBox在Linux VM中运行).我已经将PHPunit添加到composer.json并运行composer install和composer update,但是没有任何工作.从命令行运行PHPunit什么都不做. (也不是PHP PHPunit或PHP PHPunit.phar.)
如何让PHPunit运行我的测试?
解决方法
您现在必须使用以下命令运行它
vendor/bin/PHPunit