I need a phpunit.bat to configure my NetBeans IDE.
我需要一个phpunit.bat来配置我的NetBeans IDE。
I'm using wamp, and I just install phpunit via pear using these instructions:
我正在使用wamp,我只是使用这些说明通过pear安装phpunit:
Before start using PEAR, Update by downloading last go-pear from http://pear.php.net/go-pear.phar and save it into: C:\wamp\bin\php\php5.3.3\PEAR
在开始使用PEAR之前,通过从http://pear.php.net/go-pear.phar下载最后一个go-pear进行更新并将其保存到:C:\ wamp \ bin \ php \ php5.3.3 \ PEAR
Then:
cd C:\wamp\bin\php\php5.3.0>
php -d phar.require_hash=0 PEAR/go-pear.phar
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
After do that I can't find any phpunit.bat or phpunit.php
这样做后,我找不到任何phpunit.bat或phpunit.php
How can I get a phpunit.bat (or any CLI) after install phpunit via PEAR?
如何通过PEAR安装phpunit后获得phpunit.bat(或任何CLI)?
1 个解决方案
#1
21
Type:
pear config-show
look for the PEAR executables directory
查找PEAR可执行文件目录
Your phpunit.bat
will be there.
你的phpunit.bat会在那里。
If it isn't:
如果不是:
pear install --alldeps --force phpunit/phpunit
and look again.
然后再看一遍。
#1
21
Type:
pear config-show
look for the PEAR executables directory
查找PEAR可执行文件目录
Your phpunit.bat
will be there.
你的phpunit.bat会在那里。
If it isn't:
如果不是:
pear install --alldeps --force phpunit/phpunit
and look again.
然后再看一遍。