开发者

Why Netbean ignore PHPUnit testsuite from the XML config?

开发者 https://www.devze.com 2023-02-20 21:04 出处:网络
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.

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 t开发者_如何学编程o handler the testsuites definition inside a phpunit XML configuration ?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号