Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Enabling core's Testing module and navigating to admin/config/development/testing
results in an exception: MissingGroupException: Missing @group annotation in Drupal\xmlsitemap\Tests\XmlSitemapEntityFunctionalTest
(plus several other files).
Comment | File | Size | Author |
---|---|---|---|
#5 | 2495523-fix-tests.patch | 18.12 KB | Dave Reid |
#4 | 2495523-fix-tests.patch | 16.39 KB | Dave Reid |
#1 | 2495523-1-group-annotation.patch | 6.49 KB | mikeker |
Comments
Comment #1
mikeker CreditAttribution: mikeker as a volunteer commentedAdds
@group
annotations to all the non-base test files.Comment #2
MichelleI wasn't able to reproduce the error but XMLSitemap didn't show up at all on the testing page and it does, now, with this patch. Tested against Drupal 8 Beta 10.
Comment #3
pguillard CreditAttribution: pguillard commentedI confirm, enabling xmlsitemps prevents TestDiscovery to run.
RTBC++ !!
Comment #4
Dave ReidThis should also fix that setUp() is now protected, xmlsitemap enabling should be inherited, and getInfo() methods removed.
Comment #5
Dave ReidWith the sub-module tests included in changes now.
Comment #6
Dave ReidComment #7
Dave ReidWent ahead and pushed the fixes up.
Comment #11
Dave ReidComment #15
mikeker CreditAttribution: mikeker as a volunteer commentedSilly testbot...