Why Netbean ignore PHPUnit testsuite from the XML config?

蹲街弑〆低调 提交于 2019-12-13 14:15:32

问题


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.

It look like netbean try to execute this command:

phpunit -c config.xml path/to/tests/

instead of just:

phpunit -c config.xml

How can I configure netbean in order to handler the testsuites definition inside a phpunit XML configuration ?


回答1:


Seems to be a bug of netbeans, see Bug 199072 - NetBeans ignores PHPUNIT.XML and runs tests from all folders.




回答2:


NetBeans 7.0 allows you to specify a test suite in the project's properties, but I don't see a way to tell it to use what's in the XML configuration file.



来源:https://stackoverflow.com/questions/5502159/why-netbean-ignore-phpunit-testsuite-from-the-xml-config

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!