Yii Framework Forum: Seleniumtestcase.php While Running Phpunit And Selenium - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Seleniumtestcase.php While Running Phpunit And Selenium TDD With selenium phpunit yii on wampserver.

#1 User is offline   bluerid 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 16-April 14

Posted 06 May 2014 - 10:47 AM

I am a new to YII framework. Running Yii 1.1.14 on wamp 2.4.
Using:
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


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..

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.

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users