title: phpunit doesn't work in a yii framework project
body: <p>I just stuck all this morning to figure out this, but without luck.</p>
  
  <p>I create a test under tests/unit</p>
  
  <pre><code>&lt;?php
  
    class DbTest extends CTestCase {
  
      public function testConnection() {
    $this-&gt;assertTrue( true );
      }
    }
  
  ?&gt;
  </code></pre>
  
  <p>when I run it in the terminal</p>
  
  <pre><code>$ cd tests
  $ phpunit unit/DbTest.php
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>PHPUnit 3.7.8 by Sebastian Bergmann.
  
  Function 'phpunit_autoload' not found (function 'phpunit_autoload' not found or invalid function name)
  </code></pre>
  
  <p>my phpunit version is 3.7.8</p>