Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run :TestSuite in the desired test folder #704

Open
curkan opened this issue Dec 7, 2022 · 0 comments
Open

Run :TestSuite in the desired test folder #704

curkan opened this issue Dec 7, 2022 · 0 comments

Comments

@curkan
Copy link

curkan commented Dec 7, 2022

Hello! I have a certain problem. I'm running tests from docker on phpunit which is installed in this container.
Set up the variable
:let test#php#phpunit#executable = 'docker exec -w /www/web2 --user 1000:1000 -it -e SSH_AUTH_SOCK="${SSH_AUTH_SOCK}" php-fpm-backend ./vendor/bin/phpunit'

Close testing works, file testing works. But testing of all tests does not work.
Gives the following error:
Test directory "/www/web2/./tests/Unit" not found

My tests are in /www/web2/tests/Feature (in docker)

How do I change the folder to only call :TestSuite ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant