PHPUnit 3.5.14 由 Sebastian Bergmann 编写。无法识别的选项--log-xml
我正在尝试使用 Netbeans 进行单元测试。但它给了我这个错误。谁能告诉我其中有什么问题吗?
PHPUnit 3.5.14 by Sebastian Bergmann. unrecognized option --log-xml
i am trying to use netbeans for unit testing. But it is giving me this error. anyone can tell me what is wrong in it?
PHPUnit 3.5.14 by Sebastian Bergmann. unrecognized option --log-xml
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 PHPUnit 3.4.x => 3.5 变更日志(底部):
当前版本的 Netbeans (
7.0.x
) 可与旧版PHPUnit 3.5.*
和新版本3.6.x
配合使用,因此可能会出现此问题来自您配置了一些自定义开关或使用旧的 netbeans 版本。升级 netbeans 和 phpunit 应该可以解决这个问题
From the PHPUnit 3.4.x => 3.5 change log (at the bottom):
Current Versions of Netbeans (
7.0.x
) work with the oldPHPUnit 3.5.*
and the new versions3.6.x
so the issue might come from you having configured some custom switches or using and old netbeans version.Upgrading netbeans and phpunit should solve that