Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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 CreditAttribution: mikeker as a volunteer commentedComment #3
mikeker CreditAttribution: mikeker as a volunteer 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 CreditAttribution: mikeker as a volunteer commentedThat was the fastest core issue fix I've ever seen! :)
Done: #2667172: core.api.php links to the old (deprecated) KernelTestBase.