vscode-phpunit
vscode-phpunit copied to clipboard
When phpunit.args is used, it is doubled for every repeating of the last test
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 testThe command now is:Executing task: /some/path/vendor/bin/phpunit' --testdox --colors=always --testdox --colors=always '/some/path' - Execute
Rerun last testagain.--testdox --colors=alwaysare 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?