extension does not run the command
Closed this issue · 5 comments
Hi, I think it's because of the path.
Maybe you could try setting it to ./vendor/bin/phpunit
otherwise absolute path should work. See the readme GIF example paths.
I have planned and prepared to make it find phpunit in the vendor folder automatically in a coming update. Just don't know when it's coming.
it also doesn't work for me
Realized the path on windows has to be an executable file. Check out this previously closed issue please. It describes how you can create a .bat
file to execute. I think BIN_TARGET
there should be the path you're running with now.
In the future however this will not be necessary as I mentioned, it will find the path automatically.
Hope that fixes it.
Cheers
This should now work in the latest release v3.0.0 also published to the marketplace. It will now find php
if it exists globally and same for phpunit
if it exists with composer in the vendor directories or as a .phar file.
Please try again. I'll close this since the whole behavior changed and this should be working now.
now it's work. Thank you!