assertTrue(true); } } /* * Output: $breakTheTests=false; [richardg@hydra UnitTest]$ phpunit OutputBreaksTest.php PHPUnit 3.4.0 by Sebastian Bergmann. . Time: 1 second OK (1 test, 1 assertion) ========================= $breakTheTests=true; [richardg@hydra UnitTest]$ phpunit OutputBreaksTest.php This will cause a RuntimeExceptionPHPUnit 3.4.0 by Sebastian Bergmann. E Time: 0 seconds There was 1 error: 1) Dennis_UnitTest_SeparationTest::testOne RuntimeException: This will cause a RuntimeExceptiona:4:{s:10:"testResult";N;s:13:"numAssertions";i:1;s:6:"result";O:28:"PHPUnit_Framework_TestResult":16:{s:9:" FAILURES! Tests: 1, Assertions: 0, Errors: 1. */