How to output in CLI during execution of PHP Unit tests?
UPDATE Just realized another way to do this that works much better than the –verbose command line option: class TestSomething extends PHPUnit_Framework_TestCase { function testSomething() { $myDebugVar = array(1, 2, 3); fwrite(STDERR, print_r($myDebugVar, TRUE)); } } This lets you dump anything to your console at any time without all the unwanted output that comes along … Read more