【问题标题】:PHPUnit in Eclipse Fatal ErrorEclipse 中的 PHPUnit 致命错误
【发布时间】:2014-08-10 03:19:21
【问题描述】:

我目前正在使用版本在eclipse中的windows上设置php单元测试

版本:Juno Service Release 2 内部版本号:20130225-0426

这是我从 Eclipse 运行“运行所有测试”时遇到的致命错误。

致命错误:在 C:\Users\Gary\Desktop\eclipse\plugins\com.piece_framework.makegood.stagehandtestrunner_3.1.0.v201407050319\resources\php\vendor\piece\stagehand-testrunner\ 中找不到类“PHPUnit_Util_Configuration” src\DependencyInjection\PHPUnitConfigurationFactory.php 第 70 行

更多信息。

  • 我还安装了 Eclipse Plugin PHP Tool Integration。
  • 我已经安装了 Eclipse Plugin MakeGood
  • 我已经安装了 PEAR,并将 php 库包含指向 PEAR 位置

我还从 git repo 下载了 PHPUnit 的源代码,并将属性 testSuiteLoaderFile 设置为 git repo 中的源文件,因为该文件似乎不在我系统上的任何位置,但它应该是成为。

phpunit.xml sn-p

testSuiteLoaderFile="C:/Users/Gary/phpunit-bundle/PHPUnit/Runner/StandardTestSuiteLoader.php"

【问题讨论】:

    标签: php eclipse eclipse-plugin phpunit makegood


    【解决方案1】:

    MakeGood 3.1.0 不支持 Juno。使用 Luna 或 Kepler,请参阅 PHPUnit backward compatibility issues

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-19
      • 2012-04-21
      • 2018-09-07
      • 2021-03-03
      • 2022-01-02
      • 2013-09-27
      • 2013-01-04
      相关资源
      最近更新 更多