title: PHPUnit cannot open file
body: <p>I've started learning how to use PHPUnit. However, I'm facing a problem which I have no clue how to solve.</p>
  
  <p>I have a folder called <code>lessons</code> and inside there is a <code>composer.json</code> which I installed PHPUnit with.
  The output resulted in a folder called <code>vendor</code> and a sub-folder called <code>bin</code> which has the phpunit file in it.</p>
  
  <p>In the <code>cmd</code> I typed: <code>cd c:/xampp/htdocs/lessons/vendor/bin</code>. Now the cmd folder sets to the same folder as phpunit. I've created a directory in <code>lessons</code> which I called <code>tests</code> (<code>lessons/tests</code>) which I store all of my tests in. I've created a file called <code>PracticeTest.php</code> with a very simple test script in it. </p>
  
  <p>When I go back to the <code>cmd</code> and type <code>phpunit tests</code> I get <code>cannot open file tests.php</code> When I try to type <code>phpunit PracticeTest</code> I get <code>cannot open file PracticeTest.php</code>. When I try <code>phpunit tests/PracticeTest</code> (with <code>.php</code> or without) I get the same error that the file could not be opened. </p>
  
  <p>My suspicious that it has something to do with that face that the <code>cmd</code> is pointing at the <code>lessons/vendor/bin</code> directory, but I'm not sure if it is really the problem or how to fix it.</p>
  
  <p>just to arrange the paths:</p>
  
  <ul>
  <li><code>lessons\vendor\bin\</code></li>
  <li><code>lessons\tests\</code></li>
  <li><code>lessons\tests\PracticeTest.php</code></li>
  </ul>
  
  <p>Thanks in advance!</p>