Problem/Motivation
In order to find test files they have to end with *Test.php. Let's check that.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2296635-13.patch | 1.69 KB | dawehner |
Comments
Comment #2
dawehnerComment #3
chx commentedFantastic! Could we please add a check for PSR-0/4 compliance and perhaps annotation (
@group drupal) if that's a requirement? Can't remember whether the latter is.Comment #4
mile23@chx we have a bunch of that baked in to
Drupal\Tests\TestSuites\TestSuiteBase.The check for
@groupexists inTestDiscovery::getTestInfo(). This only applies torun-tests.sh, however, so while the testbot will catch it, other systems might not.Here's a review:
Add @see pointing to some docs about how to organize tests.
Comment #6
mile23Comment #10
borisson_Adding a related issue.
Comment #21
mondrakeThis is now a duplicate of #3477634: Ensure run-tests.sh and PHPUnit CLI run with the same list of tests to be executed.