Phing和PHPUnit都是从ubuntu 12.04上的pear安装的。如何告诉Phing PHPUnit的安装位置?
PHPUnit的位于在/ usr/bin中/ PHPUnit的和/ usr/bin中是Unix路径上,也对在php.ini
我怎么知道Phing在安装PHPUnit的include_path中?
[email protected]:~/med1/pub$ phing utest
Buildfile: /home/webroot/med1/pub/build.xml
myproject > utest:
[echo] Unittests PHPUnit...
Execution of target "utest" failed for the following reason: /home/webroot/med1/pub/build.xml:8:40: /home/webroot/med1/pub/build.xml:8:40: PHPUnitTask requires PHPUnit to be installed
BUILD FAILED
/home/webroot/med1/pub/build.xml:8:40: /home/webroot/med1/pub/build.xml:8:40: PHPUnitTask requires PHPUnit to be installed
Total time: 0.1148 seconds
http://stackoverflow.com/questions/23377750/phing-cant-see-phpunit可能的重复?你尝试设置'pharlocation'属性吗? –
你能帮我吗。有一个开放的赏金我的问题http://stackoverflow.com/questions/36405597/unable-to-globally-install-older-version-of-phpunit-phar –