PHPUNIT need helps plz!

[size="5"][font="Verdana"]Hey guys, im new to Yii and im following <<Agile Web

Application Development with Yii1.1 and PHP 5>> ebook pdf. I stuck at page 47 to do

the % phpunit functional/SiteTest.php. I followed all the previous instructions,

installed PHPUnit and Selenium Server is running. Every time i try to run % phpunit

functional/SiteTest.php, it give me the errors shows as attachment. I tried firefox,

chrome as well, it just wont open up the browser… Any ideas? plz help, thx ahead![/font][/size]

What is your webroot? you forget to edit WebTestCase.php and line as

define(‘TEST_BASE_URL’,‘http:// [YOUR WEBROOT] /index-test.php/’);

I have tried two kinds of browser by myself.

IE output as:




PHPUnit 3.5.15 by Sebastian Bergmann.


..E...


Time: 02:07, Memory: 5.25Mb


There was 1 error:


1) SiteTest::testLoginLogout

PHPUnit_Framework_Exception: Could not connect to the Selenium RC server.


C:\inetpub\wwwroot\medappt\yii\framework\test\CWebTestCase.php:61

C:\inetpub\wwwroot\medappt\trackstar\protected\tests\functional\SiteTest.php:38

C:\inetpub\wwwroot\medappt\trackstar\protected\tests\functional\SiteTest.php:38


FAILURES!

Tests: 6, Assertions: 20, Errors: 1.



and Firefox output as:




PHPUnit 3.5.15 by Sebastian Bergmann.


...


Time: 21 seconds, Memory: 5.25Mb


OK (3 tests, 12 assertions)



So only the Firefox finished the test.