Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PhpUnitBridge] make PHPUnit environment variables configurable#18898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedMay 27, 2016
Why can't you do something like: |
xabbuh commentedMay 27, 2016
@nicolas-grekas That doesn't seem to work. I am only able to debug the wrapper, but the env vars are not the same in the execute PHPUnit tests. |
nicolas-grekas commentedMay 27, 2016
OK, then xdebug in the master process may be changing the env vars on purpose. |
xabbuh commentedMay 28, 2016
Ah indeed, that does work. |
Whenever I try to use Xdebug locally while executing the Symfony test suite, I have to modify the
phpunitwrapper script to pass theXDEBUG_CONFIGvariable to PHPUnit. With this change, one can create.phpunit.phpfiles locally containing something like this instead: