title: PHPUnit is not reading configuration file?
body: <p>I want to install PHPUnit with composer and followed this tutorial: <a href="https://jtreminio.com/2013/03/unit-testing-tutorial-introduction-to-phpunit/" rel="nofollow noreferrer">https://jtreminio.com/2013/03/unit-testing-tutorial-introduction-to-phpunit/</a></p>
  
  <p>I added </p>
  
  <pre><code>{
      "require-dev": {
          "phpunit/phpunit": "3.7.14"
      },
      "autoload": {
          psr-0": {
             "phpUnitTutorial": ""
          }
   }
  }
  </code></pre>
  
  <p>to the file <code>composer.json</code>. Entering <code>./vendor/bin/phpunit</code> shows me that phpunit is installed. </p>
  
  <p>This is my folder structure:</p>
  
  <pre><code>composer.json
  composer.phar
  phpUnitTutorial/
  vendor/
  </code></pre>
  
  <p>I created a <code>phpunit.xml</code> file inside the <code>phpUnitTutorial</code> folder with the content</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;phpunit colors="true"&gt;
      &lt;testsuites&gt;
          &lt;testsuite name="Application Test Suite"&gt;
              &lt;directory&gt;./phpUnitTutorial/Test/&lt;/directory&gt;
          &lt;/testsuite&gt;
      &lt;/testsuites&gt;
  &lt;/phpunit&gt;
  </code></pre>
  
  <p>Further I created an file at <code>phpUnitTutorial/Test/StupidTest.php</code> with the content</p>
  
  <pre><code>&lt;?php
  
  namespace phpUnitTutorial\Test;
  
  class StupidTest extends \PHPUnit_Framework_TestCase
  {
      public function testTrueIsTrue(){
        $foo = ture;
        $this-&gt;assertTrue($foo);
      }
  }
  </code></pre>
  
  <p>In the tutorial it is advised to do the following:</p>
  
  <blockquote>
    <p>From project root, run PHPUnit: $ vendor/bin/phpunit</p>
  </blockquote>
  
  <p>with the following screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/O52M4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O52M4.png" alt="enter image description here"></a></p>
  
  <p>If I execute <code>$ vendor/bin/phpunit</code> inside the <code>phpUnitTutorial</code> folder then I receive the error</p>
  
  <blockquote>
    <p>bash: vendor/bin/phpunit: No such file or directory</p>
  </blockquote>
  
  <p>which makes sense to me because the folder <code>vendor</code> is on the same level as the folder <code>phpUnitTutorial</code>. If I execute <code>$ ../vendor/bin/phpunit</code> I get </p>
  
  <p><a href="https://i.stack.imgur.com/agqvU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/agqvU.png" alt="enter image description here"></a></p>
  
  <p>It says no test executed and it doesn't confirm that my configuration file was read. Why is it not executing the test?</p>