[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/ -> phpunit.xml.dist (source)

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  
   3  <phpunit
   4      backupGlobals="false"
   5      colors="false"
   6      stopOnFailure="false"
   7      verbose="true"
   8      cacheResult="true"
   9      bootstrap="tests/bootstrap.php"
  10      >
  11      <testsuites>
  12          <testsuite name="YOURLS Test Suite">
  13              <directory suffix=".php">./tests/tests</directory>
  14          </testsuite>
  15      </testsuites>
  16      <groups>
  17          <exclude>
  18              <group>ajax</group>
  19          </exclude>
  20      </groups>
  21      <filter>
  22          <whitelist>
  23              <directory suffix=".php">./includes</directory>
  24              <exclude>
  25                  <directory suffix=".php">./includes/vendors</directory>
  26              </exclude>
  27          </whitelist>
  28      </filter>
  29      <php>
  30          <!-- Constants -->
  31          <const name="PHPUNIT_TESTSUITE" value="true" />
  32          <!-- Login -->
  33          <request name="username" value="yourls"/>
  34          <request name="password" value="secret-ci-test"/>
  35          <!-- Install -->
  36          <server name="SERVER_SOFTWARE" value="TRAVIS APACHE"/>
  37          <!-- Stats data -->
  38          <server name="HTTP_USER_AGENT" value="Travis-CI (PHPUnit\3.7)"/>
  39          <server name="HTTP_HOST" value="travis.com"/>
  40          <server name="HTTP_CLIENT_IP" value="10.10.10.1"/>
  41          <!-- API -->
  42          <request name="format" value="simple"/>
  43      </php>
  44  </phpunit>


Generated: Tue Dec 6 05:10:02 2022 Cross-referenced by PHPXref 0.7.1