Where can I find PHPUnit_Extensions_SeleniumTestCase?
I have Selenium IDE/RC, and PHPUnit 3.5 (PEAR) installed, but I can't seem to find PHPUnit_Extensions_SeleniumTestCase. When I type pear install phpunit/PHPUnit_Selenium
, I get the following error:
phpunit/PHPUnit_Selenium is already installed and is the same as the released version 1.0.0
install failed
It appears that PHPUnit 3.5 should come with Sele开发者_StackOverflow中文版niumTestCase, but there appears to be some kind of issue.
Fixed:
- Uninstalled PHPUnit
- Uninstalled Testing_Selenium-0.4.4
- Attempted to install PHPUnit_Selenium, but failed saying it was already installed
- Uninstalled PHPUnit_Selenium
- Reinstalled PHPUnit which came with Selenium
It appears that there was a dependency that was removed physically, but still marked down as installed. It would not uninstall initially because PHPUnit lists it as a dependency. Uninstalling PHPUnit, then uninstalling PHPUnit_Selenium directly, allowed me to reinstall PHPUnit, which resolved this issue.
精彩评论