Skip to content
Extraits de code Groupes Projets
phpunit.xml.dist 1,96 ko
Newer Older
  • Learn to ignore specific revisions
  • <?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"/>
    
    mattab's avatar
    mattab a validé
        <!--
            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/
    
    mattab's avatar
    mattab a validé
            NOTE: the REQUEST_URI should not contain "plugins" or "tests" in the PATH
    
    mattab's avatar
    mattab a validé
        -->
    
        <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">
    
          <!-- <directory>./Integration</directory> -->
    
          <file>./Integration/NoVisitTest.php</file>
    
      <!-- NOTE: UI Tests are not included here since they significantly add to the test run time. -->
    
      <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" />
    
      <whitelist addUncoveredFilesFromWhitelist="true">
    
        <directory suffix=".php">../../core</directory>
        <directory suffix=".php">../../plugins</directory>
      </whitelist>
    </filter>
    
    </phpunit>