我正在尝试使用Netbeans (安装在Windows上)测试我的项目,而我的服务器位于虚拟机(Virtualbox + Vagrant)中。
我看到了这个:http://www.brianfenton.us/2012/03/running-phpunit-tests-on-vm-from.html#comment-form_4681337631658449555
但不工作,我得到了错误:'sed‘没有被识别为内部或外部命令,可操作程序或批处理文件。
下面是我的配置:
:: 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..。但我不知道该怎么做:
set REMOTE_NETBEANSSUITE=\/usr\/local\/share\/php\/phpunit\/NetBeansSuite.php对不起,我的英语不好。
发布于 2014-08-10 03:58:52
sed是"Stream EDitor“Unix命令行实用程序,您所链接的那篇文章的批处理文件的注释表明您需要install it on Windows。
对不起,我不知道为什么批处理文件使用测试套件来运行测试,而原始的shell脚本却没有。:(
https://stackoverflow.com/questions/25213409
复制相似问题