When using the MakeGood plugin in Eclipse to run a test that sets headers, I get:
Cannot modify header information - headers already sent by (output started at C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Util\Printer.php:173)
This same test works fine when I run it through Phing. I'm assuming that Phing sets output to stderr because when I run the same test from the phpunit command line with the --stderr switch, it works fine. It fails the same way as with MakeGood without the --stderr switch.
Is there a way around this, or a way to set output to stderr in the MakeGood plugin?
Also, this shouldn't make any difference, but this is a Zend Framework project and I've set
Zend_Session::$_unitTestEnabled = true;
in my testing bootstrap.