phpunit无法找到所需的文件

时间:2017-04-30 13:37:39

标签: php linux cakephp phpunit

我正在尝试在CakePHP 2.9.7中测试我的所有控制器,但在出错后收到错误。 首先是

require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in [/usr/share/php/PHPUnit/Autoload.php, line 3]

此后我从Autoload.php

复制/usr/share/php/PHPUnit/Framework/MockObeject/Autoload.php to

/usr/share/php/PHPUnit/File/Iterator/ 正如它在错误中说的,它给了我另一个

require_once(): Failed opening required 'Text/Template/Autoload.php' (include_path='/shaufelcakephp/lib:.:/usr/local/lib/php') in [/usr/local/lib/php/PHPUnit/File/Iterator/Autoload.php, line 3] 所以静止是我怎么能一步一步地复制所有这些thigs,从哪个地方复制?

`

0 个答案:

没有答案