title: PHPUnit live log on failure/error
body: <p>I've been running a few thousand phpunit tests recently. I use <code>--process-isolation</code> option so it takes some 40 minutes for tests to complete.</p>
  
  <p>Sometimes after an aggressive refactoring a lot of tests start failing (thanks God I have the tests !). And if a test fails in the middle of a test suite then I have to wait 20 more minutes to see what test it is and it's message.</p>
  
  <p>I would use <code>--stop-on-failure</code> if didn't interrupt the whole process. Basically I'm looking for <code>--log-on-failure</code> option.</p>
  
  <p>What I'm looking for exactly is some way to see the fail/error message of the test right after it failed and not after all other tests are finished. But the whole process of other tests execution should not be interrupted. Logging to a file will suffice as well.</p>
  
  <p>I'll appreciate your suggestions.</p>
  
  <p>EDIT: I'm glad to see your suggestions how I could improve my testing in general and I will try to follow them, however I would like to find a solution to my exact problem.</p>