为什么Netbean从XML配置中忽略PHPUnit测试套件? [英] Why Netbean ignore PHPUnit testsuite from the XML config?
本文介绍了为什么Netbean从XML配置中忽略PHPUnit测试套件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经将netbean设置为使用我的config.xml文件,但除了netbean完全忽略的testsuites部分之外,它都运行良好.
I've setup netbean to use my config.xml file, and it works well except for the testsuites part that is completly ignored by netbean.
netbean似乎尝试执行此命令:
It look like netbean try to execute this command:
phpunit -c config.xml路径/到/测试/
phpunit -c config.xml path/to/tests/
而不只是:
phpunit -c config.xml
如何配置netbean以便在phpunit XML配置中处理testsuites定义?
How can I configure netbean in order to handler the testsuites definition inside a phpunit XML configuration ?
推荐答案
似乎是netbeans的错误,请参见 1990年8月错误-NetBeans忽略PHPUNIT.XML并从所有文件夹运行测试.
Seems to be a bug of netbeans, see Bug 199072 - NetBeans ignores PHPUNIT.XML and runs tests from all folders.
这篇关于为什么Netbean从XML配置中忽略PHPUnit测试套件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文