Skip to content
Snippets Groups Projects
Commit 50a7f295 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2056607 by Mile23, becw: Fixed /core/phpunit.xml.dist only finds top-level contrib modules.

parent 9bc136d1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3,14 +3,22 @@
<phpunit bootstrap="tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="Drupal Unit Test Suite">
<directory>./tests/*</directory>
<directory>./modules/*/tests/*</directory>
<directory>../modules/*/tests/*</directory>
<directory>../sites/*/modules/*/tests/*</directory>
<!-- Exclude files that end in Test.php that aren't actually phpunit tests. -->
<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. -->
<exclude>./modules/config/tests/config_test/lib/Drupal/config_test</exclude>
<exclude>./modules/views/tests/views_test_data/lib/Drupal/views_test_data</exclude>
</testsuite>
</testsuites>
<!-- Filter for coverage reports. -->
<filter>
<blacklist>
<directory>./vendor</directory>
</blacklist>
</filter>
</phpunit>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment