It was tricky quest for me, but i did it =) unswer get from here https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000455850-PHPUnit-use-Composer-autoloader-could-not-parse-PHPUnit-version-output-
Aug 19, 2019
1
Level 12
How to configure PHPStorm to run PHPUnit tests in docker
Hello. I have server with docker on it. On the server i have compose.yaml with services i need for my app. And now if i want to run a test I can go to server, then "docker exec -it php bash" and in the container run phpunit. So i think i can do the same with phpstorm interface? I know how to do it if whole app is on my local computer. But cant understand how to do it if app in docker on the VPS. Please help...
I tried connect from phpstorm to docker. it connected, but it does not show me any of my containers... so i cant set php interpriter to run my tests..
Level 12
1 like
Please or to participate in this conversation.