When running
php ./core/scripts/run-tests.sh --list
I get:
Available test groups & classes
-------------------------------
exception 'Drupal\simpletest\Exception\MissingGroupException' with message 'Missing @group annotation in Drupal\Tests\physical\Kernel\MeasurementItemTest' in core/modules/simpletest/src/TestDiscovery.php:355
Stack trace:
#0 core/modules/simpletest/src/TestDiscovery.php(181): Drupal\simpletest\TestDiscovery::getTestInfo('Drupal\\Tests\\ph...', '/** @var \\Drupa...')
#1 core/modules/simpletest/simpletest.module(582): Drupal\simpletest\TestDiscovery->getTestClasses(NULL, Array)
#2 core/scripts/run-tests.sh(76): simpletest_test_get_all(NULL)
#3 {main}
exception 'Drupal\simpletest\Exception\MissingGroupException' with message 'Missing @group annotation in Drupal\Tests\physical\Kernel\MeasurementItemTest' in core/modules/simpletest/src/TestDiscovery.php:355
Stack trace:
#0 core/modules/simpletest/src/TestDiscovery.php(181): Drupal\simpletest\TestDiscovery::getTestInfo('Drupal\\Tests\\ph...', '/** @var \\Drupa...')
#1 core/modules/simpletest/simpletest.module(582): Drupal\simpletest\TestDiscovery->getTestClasses(NULL, Array)
#2 core/scripts/run-tests.sh(76): simpletest_test_get_all(NULL)
Cannot run tests either and the test UI is also unavailable.
It's because the mentioned test class is misnamed.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | physical-testclass-fix-2850666-2.patch | 436 bytes | czigor |
Comments
Comment #2
czigor commentedComment #4
joelpittetThanks @czigor