I am a new to YII framework. Running Yii 1.1.14 on wamp 2.4.
Using:
[indent][b]Pear channel : pear.phpunit.de
INSTALLED PACKAGES, CHANNEL PEAR.PHPUNIT.DE:
============================================
PACKAGE VERSION STATE
PHPUnit 4.0.17 stable
PHPUnit_Selenium 1.3.3 stable[/b][/indent]
When I try to run the example functional test located at protected/tests/functional/SiteTest.php phpunit I see this warning and subsequent fatal errors…
[indent][b][i]PHP Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php): failed to open stream: No such file or directo
ry in E:\projects-2014\yii\framework\test\CWebTestCase.php on line 12.[/i][/b][/indent]
Selenium Server is running too.
…but SeleniumTestCase.php file is indeed inside the C:\wamp\bin\php\php5.4.16\pear\PHPUnit\Extensions folder!
Tried changing the phpunit.bat but not really sure where to change and what to change.
I googled out a lot but still clueless about the issue. That’s why I am here to seek your help.
PATHs set in Environment Variables…
%SystemRoot%\system32; %SystemRoot%;%SystemRoot%\System32\Wbem; C:\wamp\bin\php\php5.4.16;E:\projects-2014\yii\framework;C:\wamp\bin\php\php5.4.16\pear\PHPUnit