title: Running PHPUnit tests Yii Framework
body: <p>What possibilities are there to run unit tests with my Yii application?</p>
  
  <p>So far, I have been testing them this way:</p>
  
  <p>Open command prompt</p>
  
  <pre><code>&gt; cd C:\WHEREVER MY APP IS\protected\tests
  
  &gt; phpunit unit/TestingTest.php
  </code></pre>
  
  <p>Now, I was wondering if there is another way. Im new to the testing world so to speak, but it seems to me that there must be a better way than running one by one all tests. Thanks for any tips, im sure the question is quite dumb! But maybe it turns out to be helpful to someone else out there.</p>
  
  <p><strong>EDIT</strong> <em>(based on @David Harkness comment)</em>
  Ok, so now I know that when i do this</p>
  
  <blockquote>
    <p>phpunit C:\WHEREVER MY APP IS\protected\tests\unit</p>
  </blockquote>
  
  <p>All the tests within my TestingTest.php file are execute. My problem now is that within that unit folder, I have TWO files, TestingTest.php and <strike>TestingTest2.php</strike> <strong>Testing2Test.php</strong>. Only the tests within the first one are executed. Any ideas?</p>