<?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="true" backupStaticAttributes="false" bootstrap="bootstrap.php" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" mapTestClassNameToCoveredClassName="false" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" strict="false" verbose="true"> <php> <server name="HTTP_HOST" value="localhost"/> <!-- When copying this file to phpunit.xml, replace with the path to Piwik on localhost. If Piwik is available at http://localhost/dev/piwik/ replace @REQUEST_URI@ with /dev/piwik/ NOTE: the REQUEST_URI should not contain "plugins" or "tests" in the PATH --> <server name="REQUEST_URI" value="@REQUEST_URI@"/> <server name="REMOTE_ADDR" value="127.0.0.1"/> </php> <testsuites> <testsuite name="PluginTests"> <directory>./Plugins</directory> </testsuite> <testsuite name="CoreTests"> <directory>./Core</directory> </testsuite> <testsuite name="IntegrationTests"> <file>./Integration/OneVisitorTwoVisitsTest.php</file> </testsuite> </testsuites> <logging> <log type="coverage-html" target="../results/codecoverage" charset="UTF-8" yui="true" highlight="false" lowUpperBound="35" highLowerBound="70"/> <log type="junit" target="../results/logs/junit.xml" logIncompleteSkipped="true" /> </logging> <filter> <whitelist addUncoveredFilesFromWhitelist="true"> <directory suffix=".php">../../core</directory> <directory suffix=".php">../../plugins</directory> </whitelist> </filter> </phpunit>