Create custom batch file for phpunit on windows 7 host. Use this batch file to call vbox guest controls, which then calls phpunit on the guest debian system. Point netbeans at this batch file, so it uses the installation of phpunit on the VM.
So far, I have everything working well, except I am getting this error:
Code: Select all
Try `/sbin/start-stop-daemon --help' for more information./vagrant/tests/phpunit/sbin/start-stop-daemon: invalid option -- l
Try `/sbin/start-stop-daemon --help' for more information./sbin/start-stop-daemon: invalid option -- lCode: Select all
c:\Users\mayerj\Desktop>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" --nologo guestcontrol "myvmname" execute --image /usr/bin/php5 /usr/bin/phpunit MyCustomTestSuite /path/to/suite --u
sername "user" --password "pass" --wait-stdoutCode: Select all
c:\Users\mayerj\Desktop>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" --nologo guestcontrol "myvmname" execute --image /usr/bin/php5 /usr/bin/phpunit MyCustomTestSuite /path/to/suite --u
sername "user" --password "pass" --wait-stdout -- 2> "/dev/null"Code: Select all
The system cannot find the path specified.