Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
50a7f295
Commit
50a7f295
authored
Oct 07, 2013
by
webchick
Browse files
Issue
#2056607
by Mile23, becw: Fixed /core/phpunit.xml.dist only finds top-level contrib modules.
parent
9bc136d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/phpunit.xml.dist
View file @
50a7f295
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment