Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/278.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
找不到可视PHPUnit文件路径错误_Php_Phpunit_Pear - Fatal编程技术网

找不到可视PHPUnit文件路径错误

找不到可视PHPUnit文件路径错误,php,phpunit,pear,Php,Phpunit,Pear,我正在尝试使用可视PHPUnit 我的操作系统是OSX版本10.8.5 我安装了梨子,效果很好。我检查了下面的步骤 我通过pear安装了phpunit 当我跑步时,我发现了错误 ( ! ) Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /Users/myname/Sites/VisualPHPUnit/app/config/bootstrap.php

我正在尝试使用可视PHPUnit 我的操作系统是OSX版本10.8.5

我安装了梨子,效果很好。我检查了下面的步骤

我通过pear安装了phpunit

当我跑步时,我发现了错误

( ! ) Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /Users/myname/Sites/VisualPHPUnit/app/config/bootstrap.php on line 83


( ! ) Fatal error: require_once(): Failed opening required 'PHPUnit/Autoload.php' (include_path='.:/usr/share/pear/share/pear:/Users/myname/pear/share/pear:/usr/local/pear/share/pear:/Users/myname/Sites/VisualPHPUnit:/usr/local/pear/share') in /Users/myname/Sites/VisualPHPUnit/app/config/bootstrap.php on line 83
那么PHPUnit文件夹应该在pear路径下还是在我的项目路径中?
我的phpunit安装有问题吗?有人帮我吗?

看看pear在哪里安装了phpunit吗

$ pear list phpunit/phpunit

当我检查时,我的phpunit是C:\Users\seintsan>pear list phpunit/phpunit为phpunit/phpunit安装的文件=. 目录下没有Autoload.php文件。