sebastianbergmann/phpunit-selenium — Issue #99: RuntimeException due to missing Selenium Server?
Author: lathspell
Created: 2012-02-22 18:09:27+00:00
State: open

A runtime exception without any further description, that's not very usefull. While fixing that I noticed that curl_error($curl) is called after curl_close($curl) and thus never outputs anything and that an empty $response is checked after whether $response contains ERROR which is also the wrong way around.

The output is now:
RuntimeException: CURL error while accessing the Selenium Server at 'http://localhost:4444/selenium-server/driver/': couldn't connect to host

Please apply the attached patch.

bye,

-christian-

$ phpunit test/functional/configjump/FooTest.php
PHPUnit 3.6.10 by Sebastian Bergmann.

E

Time: 0 seconds, Memory: 6.50Mb

There was 1 error:

1) ComcenterTest::testInvalidMenus
RuntimeException:

FAILURES!