我知道最近有很多关于PHPUnit问题的讨论,我花了四天的时间试图让PHPUnit安装在我的Windows 7计算机上。我已经确认我升级了PEAR,以便它是最新的。当我安装PHPUnit我得到如下:PHPUnit输入文件问题
C:\Users\Marc>pear install --alldeps phpunit/PHPUnit
phpunit/PHPUnit can optionally use PHP extension "curl"
phpunit/PHPUnit can optionally use PHP extension "dbus"
downloading PHPUnit-3.5.14.tgz ...
Starting to download PHPUnit-3.5.14.tgz (118,697 bytes)
..........................done: 118,697 bytes
install ok: channel://pear.phpunit.de/PHPUnit-3.5.14
C:\Users\Marc>
所以,据我所知,一切顺利的话......现在,当我尝试调用phpunit
我得到了以下问题:
无法打开输入文件C:\ server \ www \ phpunit
有没有人有一个想法如何解决这个问题?
确保你在系统PATH中有phpunit.bat文件。 –
它已经在路径中 –
尝试调用'phpunit.bat'而不是'phpunit'。这是否工作? – hakre