Closed (outdated)
Project:
Drupal core
Version:
8.4.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2013 at 07:06 UTC
Updated:
20 Sep 2017 at 18:31 UTC
Jump to comment: Most recent
Comments
Comment #1
msonnabaum commentedI'm good with this if we want to do it. As I pointed out in the original PHPUnit issue, our move into the lib namespace was misguided, so it probably makes sense to move them all back to core/tests.
Comment #2
Crell commentedAs long as we're still loading test classes with the same PSR-0-capable class loader as everything else, I don't really care enough to debate it either way.
Moving /core/lib tests out of system module, though, does generally bring a smile to my face.
Comment #3
dawehnerWhat is the proper placement for tests?
There is Drupal\Tests\Component\FooTest
and
Drupal\system\Tests\BarTest
Comment #4
berdirHm, I'd say yes, but by converting them to PHPUnit, which is going to be a long term task :)
The current system actually seems to be a nice separation and makes it obvious what's still a Simpletest test. Moving them now would break an insane amount of patches, at a time where we can't afford that IMHO.
Comment #9
mile23Here's what we ended up doing: https://www.drupal.org/docs/8/phpunit/phpunit-file-structure-namespace-a...
Calling this outdated.