How to fix my NetBeans + PHPUnit integration?

In NetBeans 6.7.1 with PHPUnit 3.4.1, if I try to run the test that I install in NetBeans, it throws errors and cannot run the test, here is the output:

PHPUnit 3.4.1 by Sebastian Bergmann.

The --log-xml option is deprecated, please use --log-junit instead.

Argument #1 of PHPUnit_Util_Fileloader:checkAndLoad() is no existing file

The test works fine if I run it from the command line, and not from inside NetBeans.

This is the same error you get if you pass the wrong path or file to the phpunit tool. And NetBeans also passes a discounted flag.

So my question is, is there somewhere somewhere that I can fix this? Does it work in NetBeans 6.8M2?

Thanks,

-Sam

+3
source share
3 answers

, PHPUnit 3.3.9. , PEAR, www.phpunit.de, . Linux, .

+2

3.3.9.

+1

You need to get the latest build for netbeans. The one I'm using is NetBeans IDE Build 200910290252 Download . It worked as advertised to run tests.

+1
source

Source: https://habr.com/ru/post/1719842/


All Articles