How to use Netbeans with PHPUnit on Vagrant?
I am trying to test my project using Netbeans (installed on Windows) and my server is in a virtual machine (Virtualbox + Vagrant).
I saw this: http://www.brianfenton.us/2012/03/running-phpunit-tests-on-vm-from.html#comment-form_4681337631658449555
But doesn't work and I got the error: "sed" is not recognized as an internal or external command, operating program, or batch file.
Here's the ismy config:
:: remote serveur PuTTY silent connection (auto-login, key authentication with pageant)
set REMOTE_SERVER=vagrant@dev
:: root path of all local netbeans projects, despecialized for sed
set LOCAL_WORKSPACE=D:\/www
:: remote path of all projects, despecialized for sed
set REMOTE_WORKSPACE=\/var\/www
:: remote location of NetBeansSuite.php
set REMOTE_NETBEANSSUITE=\/usr\/local\/share\/php\/phpunit\/NetBeansSuite.php
... but I don't know what to do with:
set REMOTE_NETBEANSSUITE=\/usr\/local\/share\/php\/phpunit\/NetBeansSuite.php
Sorry for my English.
source to share
sed
is the Unix command line utility "Stream EDitor" and the batch file comment in this article that you linked says you need to install this on Windows .
Sorry, I don't know why the batch file uses the test suite to run the test when the original shell script didn't. :(
source to share