How to use existing phpunit.xml in phing build.xml?
问题 I have an existing phpunit.xml (configuration file for phpunit), which looks like this: <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="./tests/bootstrap.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" strict="true" verbose="true" colors="true"> <testsuites> <testsuite name="My Tests"> <directory>./tests</directory> </testsuite> </testsuites> </phpunit> As DRY says, I don't want to simply copy & paste content