Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Apr 2013 at 23:13 UTC
Updated:
29 Jul 2014 at 22:07 UTC
phpunit.xml.dist assumes that all projects contain just one module, and that test folders are located in the project's root. Example: Currency contains two submodules that would be located at /modules/currency/currency and /modules/currency/currency_test. Currency (the module) its test would then be located at /modules/currency/currency/tests, but phpunit.xml.dist expects to find them at /modules/currency/tests.
Does phpunit.xml.dist support more dynamic path patterns, or can we add ./modules/*/*/tests/* to the list of paths?
Comments
Comment #1
mile23Sorry, I didn't see this issue and made this one: #2056607: /core/phpunit.xml.dist only finds top-level contrib modules and this one: #2025883: Drupal's PHPUnit bootstrap.php does not register module namespaces out of /core
Comment #2
mile23Yay dupes got fixed, so this one is fixed too. :-)