如何从我的Windows命令提示符在Laravel中运行PHPUnit
我的目录 f:\lara_app 中安装了一个 Laravel 应用程序。我使用PHP工匠服务来运行应用程序。我有Laravel版本5.4.36(通过作曲家安装)
我没有尝试使用PHP单元进行测试。在f:/lara_app/tests/Unit/ExampleTest.php中,我有以下代码:
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
    /**
     * A basic test example.
     *
     * @return void
     */
    public function testBasicTest()
    {
         $this->assertTrue(true);
    }
    public function myFirstTest()
    {
        $value = 'Hello World';
        $this->assertTrue( 'Hello' === $value, 'Value should be Hello World');
    }     
}
我现在尝试从命令提示符运行测试:
f:\lara_app> .vendor/phpunit/phpuni/phpunit
但我收到以下消息:
“.vendor”未被识别为内部或外部命令、可操作程序或批处理文件
如何运行 PHPUnit 测试?
提前致谢