Add ability to add debug=1 to trigger output flushing when testing with PHPUnit 3.6's output swallowing.
Thanks for the idea @lorenzo!
Add debug flag to flush output
Is this documented? :p
Not yet. I don't really get why people use the webrunner anymore, but that's just me.
Is there any chance to make the ob_flush() activated by default when running tests from web? I think it would be more consistent with previous versions of Cake. Most people expect to see pr(), echo() and debug() showed on screen and when that doesn’t happens we have to search a lot before to know what’s happening. Thanks!
One drawback to outputting directly is you cannot send headers/cookies/sessions which makes it no different than using the command line runner.