Recently I wanted to set up my php storm so I can run unit tests from the IDE on a remote server and I failed. I found articles and tutorials about how to do it, but non of them helped.
The situation is:
I have a virtual server (vagrant, vbox) which is not contained by the project itself but a separate project.
I was able to set up the PHP remote, works perfectly and I can see the php_info.
I was able to set up the PHPUnit to use the Remote PHP interpreter.
Whenever I try to run a test from the IDE it says that he can't find the file. So I tried to create a server (under Deployment).
As we are talking about a local vagrant I used the "local or mounted" option. How I share the edited code under the vagrant is that I have a code directory in my home on the host machine and that is mounted via NFS (vboxfs was buggy) to the guest machine at (/media/sf_code). So I should be able to set this mapping to the server somewhere but I cant.
I can give an UPload/Download folder, and a web server root url. Also under the mappings tab I can give the Local path and a deployment path which is relative to the given local.
Anyone can give me a helping hand, and tell me how to set it up properly? (I also would like to be able to run behat tests remotely)
Thanks in advance