【发布时间】: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