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

When phpunit.args is used, it is doubled for every repeating of the last test

Open BladeMF opened this issue 4 years ago • 0 comments

Repro

  1. Add some argument in config, e.g.
	"phpunit.args": [
		"--testdox"
	],
  1. Run a test The command is: Executing task: /some/path/vendor/bin/phpunit' --testdox --colors=always '/some/path'
  2. Execute Rerun last test The command now is: Executing task: /some/path/vendor/bin/phpunit' --testdox --colors=always --testdox --colors=always '/some/path'
  3. 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?

BladeMF avatar May 24 '21 13:05 BladeMF