在哪里可以找到 PHPUnit_Extensions_SeleniumTestCase?

发布于 2024-09-27 00:00:45 字数 311 浏览 1 评论 0原文

我安装了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤独患者 2024-10-04 00:00:45

已修复:

  1. 已卸载 PHPUnit
  2. 已卸载 Testing_Selenium-0.4.4
  3. 尝试安装 PHPUnit_Selenium,但失败,表示已安装
  4. 已卸载 PHPUnit_Selenium
  5. 重新安装 Selenium 附带的 PHPUnit

似乎有一个依赖项已被物理删除,但仍标记为已安装。它最初不会卸载,因为 PHPUnit 将其列为依赖项。卸载 PHPUnit,然后直接卸载 PHPUnit_Selenium,允许我重新安装 PHPUnit,这解决了这个问题。

Fixed:

  1. Uninstalled PHPUnit
  2. Uninstalled Testing_Selenium-0.4.4
  3. Attempted to install PHPUnit_Selenium, but failed saying it was already installed
  4. Uninstalled PHPUnit_Selenium
  5. 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文