title: How do I run PHPUnit in Laravel from my Windows Command prompt
body: <p>I have a Laravel app installed in my directory f:\lara_app. I use PHP artisan serve to run the app. I have Laravel version 5.4.36 (via Composer Install)</p>
  
  <p>I am not trying my hand in using the PHP Unit to do testing. Inside f:/lara_app/tests/Unit/ExampleTest.php, I have the following codes:</p>
  
  <pre><code>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-&gt;assertTrue(true);
      }
  
      public function myFirstTest()
      {
          $value = 'Hello World';
          $this-&gt;assertTrue( 'Hello' === $value, 'Value should be Hello World');
      }     
  }
  </code></pre>
  
  <p>I now try to run the test from my command prompt:</p>
  
  <pre><code>f:\lara_app&gt; .vendor/phpunit/phpuni/phpunit
  </code></pre>
  
  <p>But I'm getting the message below:</p>
  
  <p>'.vendor' is not recognized as an internal or external command, operable program or batch file</p>
  
  <p>How do I run the PHPUnit test?</p>
  
  <p>Thanks in advance</p>