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

3
<phpunit bootstrap="tests/bootstrap.php" colors="true">
4 5
  <testsuites>
    <testsuite name="Drupal Unit Test Suite">
6 7 8 9 10 11 12 13 14
      <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. -->
15 16 17
      <exclude>./modules/config/tests/config_test/lib/Drupal/config_test</exclude>
    </testsuite>
  </testsuites>
18 19 20 21 22 23
  <!-- Filter for coverage reports. -->
  <filter>
    <blacklist>
      <directory>./vendor</directory>
    </blacklist>
  </filter>
24
</phpunit>