1<?xml version="1.0" encoding="utf-8" ?> 2 3<phpunit backupGlobals="true" 4 backupStaticAttributes="false" 5 bootstrap="/path/to/bootstrap.php" 6 cacheTokens="false" 7 columns="80" 8 colors="false" 9 stderr="false" 10 convertErrorsToExceptions="true" 11 convertNoticesToExceptions="true" 12 convertWarningsToExceptions="true" 13 forceCoversAnnotation="false" 14 stopOnFailure="false" 15 stopOnWarning="false" 16 failOnWarning="false" 17 failOnRisky="false" 18 extensionsDirectory="/tmp" 19 printerClass="PHPUnit_TextUI_ResultPrinter" 20 testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader" 21 beStrictAboutChangesToGlobalState="false" 22 beStrictAboutOutputDuringTests="false" 23 beStrictAboutResourceUsageDuringSmallTests="false" 24 beStrictAboutTestsThatDoNotTestAnything="false" 25 beStrictAboutTodoAnnotatedTests="false" 26 beStrictAboutCoversAnnotation="false" 27 enforceTimeLimit="false" 28 timeoutForSmallTests="1" 29 timeoutForMediumTests="10" 30 timeoutForLargeTests="60" 31 verbose="false"> 32 <testsuites> 33 <testsuite name="My Test Suite"> 34 <directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">/path/to/files</directory> 35 <file phpVersion="5.3.0" phpVersionOperator=">=">/path/to/MyTest.php</file> 36 </testsuite> 37 </testsuites> 38 39 <groups> 40 <include> 41 <group>name</group> 42 </include> 43 <exclude> 44 <group>name</group> 45 </exclude> 46 </groups> 47 48 <testdoxGroups> 49 <include> 50 <group>name</group> 51 </include> 52 <exclude> 53 <group>name</group> 54 </exclude> 55 </testdoxGroups> 56 57 <filter> 58 <whitelist addUncoveredFilesFromWhitelist="true" 59 processUncoveredFilesFromWhitelist="false"> 60 <directory suffix=".php">/path/to/files</directory> 61 <file>/path/to/file</file> 62 <file> 63 /path/to/file 64 </file> 65 <exclude> 66 <directory suffix=".php">/path/to/files</directory> 67 <file>/path/to/file</file> 68 </exclude> 69 </whitelist> 70 </filter> 71 72 <listeners> 73 <listener class="MyListener" file="/optional/path/to/MyListener.php"> 74 <arguments> 75 <array> 76 <element key="0"> 77 <string>Sebastian</string> 78 </element> 79 </array> 80 <integer>22</integer> 81 <string>April</string> 82 <double>19.78</double> 83 <null/> 84 <object class="stdClass"/> 85 <file>MyTestFile.php</file> 86 <directory>MyRelativePath</directory> 87 </arguments> 88 </listener> 89 <listener class="IncludePathListener" file="ConfigurationTest.php" /> 90 <listener class="CompactArgumentsListener" file="/CompactArgumentsListener.php"><arguments><integer>42</integer></arguments></listener> 91 </listeners> 92 93 <logging> 94 <log type="coverage-html" target="/tmp/report" lowUpperBound="50" highLowerBound="90"/> 95 <log type="coverage-clover" target="/tmp/clover.xml"/> 96 <log type="json" target="/tmp/logfile.json"/> 97 <log type="plain" target="/tmp/logfile.txt"/> 98 <log type="tap" target="/tmp/logfile.tap"/> 99 <log type="junit" target="/tmp/logfile.xml" logIncompleteSkipped="false"/> 100 <log type="testdox-html" target="/tmp/testdox.html"/> 101 <log type="testdox-text" target="/tmp/testdox.txt"/> 102 <log type="testdox-xml" target="/tmp/testdox.xml"/> 103 </logging> 104 105 <php> 106 <includePath>.</includePath> 107 <includePath>/path/to/lib</includePath> 108 <ini name="foo" value="bar"/> 109 <const name="FOO" value="false"/> 110 <const name="BAR" value="true"/> 111 <var name="foo" value="false"/> 112 <env name="foo" value="true"/> 113 <post name="foo" value="bar"/> 114 <get name="foo" value="bar"/> 115 <cookie name="foo" value="bar"/> 116 <server name="foo" value="bar"/> 117 <files name="foo" value="bar"/> 118 <request name="foo" value="bar"/> 119 </php> 120</phpunit> 121 122