This is the first time I try running functional test case with Selenium RC. I’m getting the following error, have no idea what is means… I’m following SiteTest.php example on blog tutorial.
PHPUnit_Framework_Exception: Result is neither “true” nor “false”: ‘OR Server Exception: sessionId led to start new browser session: java.lang.RuntimeException: SystemRoot apparently not set! doesn’t exist; perhaps this session was already stopped?’
(note: I’ve tested Selenium RC settings by following simple example from PHPUnit site and it worked fine. I think my yii settings for the test is not correct but don’t know where to look.)
When my testcase fails, now I get this error (instead of the line no of failed test.)
Argument 2 passed to PHPUnit_Framework_ExpectationFailedException::__construct() must be an instance of PHPUnit_Framework_ComparisonFailure, string given