The doc page generated from core.api.php says that unit tests should be placed in yourmodule/tests/src. However they need to be in a Unit subdirectory of that directory.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2666552-2-phpunit-location.patch | 826 bytes | mikeker |
Comments
Comment #2
mikeker commentedComment #3
mikeker commentedComment #4
dawehner+1
In general it would be nice to also have an issue to point to the new kernel test base
Comment #5
alexpottCommitted 25d041a and pushed to 8.0.x and 8.1.x. Thanks!
Comment #8
mikeker commentedThat was the fastest core issue fix I've ever seen! :)
Done: #2667172: core.api.php links to the old (deprecated) KernelTestBase.