phpstorm - PHPUnit stderr ignored -
i want run functional/integration tests (not unit tests) phpunit. works well, except in cases gives following error:
cannot modify header information - headers sent (output started @ phar://c:/easyphp/binaries/php/php_runningversion/phpunit.phar/phpunit/util/printer.php:137)
this happens when trying modify header information, e.g. seassion_start
, set_cookie
, redirect
, etc. there fix this, --stderr
run time option or stderr="true"
xml configuration, redirects output stderr not starting output. worked great on netbeans.
yet, none of these seem work phpstorm. idea why?
here's command line (created phpstorm):
c:\easyphp\binaries\php\php_runningversion\php.exe c:\users\xxx\appdata\local\temp\ide-phpunit.php --stderr --bootstrap c:\easyphp\data\localweb\tests\bootstrap.php --configuration c:\easyphp\data\localweb\tests\configuration.xml c:\easyphp\data\localweb\tests
the config file:
<phpunit colors="false" stderr="true" />
Comments
Post a Comment