如何禁用phpunit的默认netbeans设置

时间:2013-11-10 09:06:34

标签: netbeans phpunit

当我在我们的项目中运行phpUnit测试时(Alt + F6)NetBeans始终将其运行为:

"/usr/bin/php" "/usr/bin/phpunit" "--colors" "--log-junit" "/tmp/nb-phpunit-log.xml" "--configuration" "/storage/proj/t4/products/t42base/web/tests/phpunit.xml" "/home/maxgu/etc/netbeans-7.4/php/phpunit/NetBeansSuite.php" "--run=/storage/proj/t4/products/t42base/web/tests"

我如何禁用此选项:

"/home/maxgu/etc/netbeans-7.4/php/phpunit/NetBeansSuite.php" "--run=/storage/proj/t4/products/t42base/web/tests"

使用此选项phpunit忽略XML配置文件中的设置:

<testsuites>
    <testsuite name="Pages">
        <directory>../module/Pages/test/UnitTest</directory>
    </testsuite>
    <testsuite name="Application">
        <directory>../module/Application/test/UnitTest</directory>
    </testsuite>
</testsuites>

1 个答案:

答案 0 :(得分:0)

您可以在项目选项中为phpunit设置自定义配置 enter image description here