How to pass command line arguments to phpunit?

I have tests for code which sends headers, that's why I need invoke phpunit with --stderr argument to redirect stdout to stderr. I don't see way (at least from first glance) how can I do this with phpstorm Run->PHPUnit configuration. Any suggestions?

1 comment
Comment actions Permalink

Hello Dmitriy,

PhpStorm provides own test runner and it doesn't support many standard phpunit command line options (e.g. '--bootstrap', '--colors'). '--stderr' are not supported also.
Let's continue discussion in

Thank you for feedback!


Please sign in to leave a comment.