【发布时间】:2014-09-03 11:47:18
【问题描述】:
我正在尝试在 yii 中使用 phpunit
我按照http://phpunit.de/manual/4.1/en/installation.html的说明进行安装
当我这样做时
phpunit protected/tests/unit/
发生了这个错误
PHP Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/news/framework/test/CWebTestCase.php on line 12
当我再次尝试安装 SeleniumTestCase 时抛出
composer global require "phpunit/phpunit-selenium": ">=1.2"
这就是出现的样子
Changed current directory to /home/qts1234/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
我能做什么。请帮忙
【问题讨论】:
标签: phpunit composer-php yii-components