phpunit.xml.dist 1.04 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>

3
<phpunit bootstrap="tests/bootstrap.php" colors="true">
4 5 6 7 8 9
  <php>
    <!-- Set error reporting to E_ALL. -->
    <ini name="error_reporting" value="32767"/>
    <!-- Do not limit the amount of memory tests take to run. -->
    <ini name="memory_limit" value="-1"/>
  </php>
10 11
  <testsuites>
    <testsuite name="Drupal Unit Test Suite">
12 13 14 15 16 17 18 19 20
      <directory>./tests</directory>
      <directory>./modules/*/tests</directory>
      <directory>../modules</directory>
      <directory>../sites/*/modules</directory>
      <!-- Exclude Composer's vendor directory so we don't run tests there. -->
      <exclude>./vendor</exclude>
      <!-- Exclude Drush tests. -->
      <exclude>./drush/tests</exclude>
      <!-- Exclude special-case files from config's test modules. -->
21 22 23
      <exclude>./modules/config/tests/config_test/lib/Drupal/config_test</exclude>
    </testsuite>
  </testsuites>
24 25 26 27 28 29
  <!-- Filter for coverage reports. -->
  <filter>
    <blacklist>
      <directory>./vendor</directory>
    </blacklist>
  </filter>
30
</phpunit>