ganjabastard / php-webdriver-bindings

Automatically exported from code.google.com/p/php-webdriver-bindings
0 stars 0 forks source link

CWebDriverTestCase - make a version for use outside of unit test like with PHP shell, etc. #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently use of CWebDriverTestCase requires running tests in PHPUnit. For 
debugging/development, integration with other tools, and other uses, it is 
helpful to run without PHPUnit. One example is use of the class within a PHP 
shell (e.g. php -a)

See this issue request on PHPUnit-Selenium for reference:

https://github.com/sebastianbergmann/phpunit-selenium/pull/59

Be nice to have same thing here. Change should be easy, just make a port of the 
class that doesn't extend PHPUnit_Framework_TestCase. There might be some other 
minor changes needed as well though.

I'll attach a patch after I enhance CWebDriverTestCase for issues 11 and 13.

Original issue reported on code.google.com by manga...@gmail.com on 9 Dec 2011 at 6:21

GoogleCodeExporter commented 8 years ago

Original comment by manga...@gmail.com on 9 Mar 2013 at 6:41

GoogleCodeExporter commented 8 years ago
My oversight before filing the issue. You can use it outside of PHPUnit as per 
example.php included with the project. 

Original comment by manga...@gmail.com on 9 Jun 2013 at 1:53