在哪里可以找到 PHPUnit_Extensions_SeleniumTestCase?
我安装了 Selenium IDE/RC 和 PHPUnit 3.5 (PEAR),但我似乎找不到 PHPUnit_Extensions_SeleniumTestCase。当我输入 pear install phpunit/PHPUnit_Selenium
时,出现以下错误:
phpunit/PHPUnit_Selenium 已经 安装并与相同 发布版本1.0.0
安装失败
看来 PHPUnit 3.5 应该附带 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 SeleniumTestCase, but there appears to be some kind of issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已修复:
似乎有一个依赖项已被物理删除,但仍标记为已安装。它最初不会卸载,因为 PHPUnit 将其列为依赖项。卸载 PHPUnit,然后直接卸载 PHPUnit_Selenium,允许我重新安装 PHPUnit,这解决了这个问题。
Fixed:
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.