[英]How can I get a phpunit.bat after install phpunit via PEAR?
我需要一個phpunit.bat來配置我的NetBeans IDE。
我正在使用wamp ,我只是使用這些說明通過pear安裝phpunit:
在開始使用PEAR之前,通過從http://pear.php.net/go-pear.phar下載最后一個go-pear進行更新並將其保存到:C:\\ wamp \\ bin \\ php \\ php5.3.3 \\ PEAR
然后:
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
在那之后,我找不到任何phpunit.bat或phpunit.php
如何通過PEAR安裝phpunit后獲得phpunit.bat(或任何CLI)?
類型:
pear config-show
查找PEAR executables directory
你的phpunit.bat
會在那里。
如果不是:
pear install --alldeps --force phpunit/phpunit
然后再看一遍。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.