vscode-phpunit icon indicating copy to clipboard operation
vscode-phpunit copied to clipboard

Override PHPUnit arguments

Open trymeouteh opened this issue 7 months ago • 2 comments

I am unable to override the arguments that this extensions uses by default using the Args setting in the extension.

settngs.json

{
   "phpunit.args": ["--colors=always"]
}

This is the command the extension uses, my --colors-always always get overridden by --colors=never

php vendor/bin/phpunit --colors=always /home/john/Documents/myTest.php --colors=never --teamcity

trymeouteh avatar Jul 14 '25 16:07 trymeouteh

--teamcity also annoying always appended and cannot be disabled

reidsneo avatar Aug 12 '25 10:08 reidsneo

This also prevents parsing from codeception. Which should work as a stand in, but doesn't due to these erroneous flags.

Sectimus avatar Sep 29 '25 09:09 Sectimus