title: PHPUnit error - Class could not be found
body: <p>I just installed PHPUnit 3.5 on my system, upgrading it from 3.4, and I'm having some trouble with the new version. When I try to run a test, I always get the same output. Here's what I get when I try to run on the command line the <code>StackTest</code> example from the PHPUnit manual, <a href="http://www.phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.test-dependencies" rel="noreferrer">example 4.1</a>:</p>
  
  <pre><code>&gt; phpunit StackTest
  
  X-Powered-By: PHP/5.2.17
  Content-type: text/html
  
  PHPUnit 3.5.13 by Sebastian Bergmann.
  
  Class StackTest could not be found in StackTest.php.
  </code></pre>
  
  <p>Worse yet, when I try to run it from a web browser, I get the following output:</p>
  
  <pre><code>Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /path/to/tests/StackTest.php on line 2 
  </code></pre>
  
  <p>Does anyone know how to set this up? Thanks.</p>