giorgiosironi/phpunit-selenium — pull request #4 by lsolesen (2012-06-04 21:06:24+00:00)
Title: Selenese fails with fatal error undefined method

A failing test case for selenese integration which gives the following fatal error:

PHP Fatal error: Call to undefined method PHPUnit_Extensions_SeleniumTestSuite::getSeleneseFiles() in /home/lsolesen/workspace/phpunit-selenium/PHPUnit/Extensions/SeleniumTestSuite.php on line 89

Test case has been placed in the root directory which is the only way (as far as I can tell) to make it run correctly using:

phpunit SeleneseTest.php

The reason I cannot put it somewhere else is because of the $seleneseDirectory which can only be relative to the testcase, so if I run it like:

phpunit Tests/SeleneseTest.php

it will not find any tests.

This pull request is for gh-134.

I also added a test for Selenium2. Same setup, but that one does not find any tests at all.