When phpunit.args is used, it is doubled for every repeating of the last test
Closed this issue · 1 comments
BladeMF commented
Repro
- Add some argument in config, e.g.
"phpunit.args": [
"--testdox"
],
- Run a test
The command is:Executing task: /some/path/vendor/bin/phpunit' --testdox --colors=always '/some/path'
- Execute
Rerun last test
The command now is:Executing task: /some/path/vendor/bin/phpunit' --testdox --colors=always --testdox --colors=always '/some/path'
- Execute
Rerun last test
again.--testdox --colors=always
are added again.
Expected outcome
The arguments for color and testdox to not be appended every time.
Environment | Values |
---|---|
Extension version | 4.1.1 |
Operating system | Windows 10 |
I really enjoy using your extension!
Would you mind if I PR'd this?
elonmallin commented
Hi, I've been doing some work on this extension lately and it should be fixed in the latest version. Thanks for the bug report!