I am not quite familiar with Yii and that's why I am just trying to work through this book. But right now, I really cannot find any solution for my issue.
So, I installed PHPUnit correctly. Then I started the Selenium Server.
C:\>java -jar selenium.jar 09.03.2012 10:23:01 org.openqa.grid.selenium.GridLauncher main INFO: Launching a standalone server 10:23:03.288 INFO - Java: Sun Microsystems Inc. 20.6-b01 10:23:03.314 INFO - OS: Windows 7 6.1 x86 10:23:03.408 INFO - v2.19.0, with Core v2.19.0. Built from revision 15849 10:23:04.048 INFO - RemoteWebDriver instances should connect to: wd/hub 10:23:04.050 INFO - Version Jetty/5.1.x 10:23:04.063 INFO - Started HttpContext[/selenium-server/driver,/selenium-server /driver] 10:23:04.065 INFO - Started HttpContext[/selenium-server,/selenium-server] 10:23:04.065 INFO - Started HttpContext[/,/] 10:23:04.195 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@471e30 10:23:04.195 INFO - Started HttpContext[/wd,/wd] 10:23:04.200 INFO - Started SocketListener on 0.0.0.0:4444 10:23:04.200 INFO - Started org.openqa.jetty.jetty.Server@1ed2ae8
It also seems to work properly. However, when I tried to invoke the test, it gives me this error message back:
C:\wamp\www\test1\protected\tests>phpunit functional/SiteTest.php Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php): failed to open s tream: No such file or directory in C:\wamp\www\yii\framework\test\CWebTestCase. php on line 11 Fatal error: require_once(): Failed opening required 'PHPUnit/Extensions/Seleniu mTestCase.php' (include_path='.;C:\xampplite\php\PEAR') in C:\wamp\www\yii\frame work\test\CWebTestCase.php on line 11 C:\wamp\www\test1\protected\tests>
I really do not know, what to do now and I did "ask" google for advice. I would really appreciate your help! Thanks in advance!

Help













