The @group annotation is required in test classes, at least because without it drupal.org's test runner fails.

It's not required for PHPUnit -- for example, I can run my tests with the phpunit command and it doesn't care about classes not having a @group.

For most modules, the @group annotation merely repeats the module name. This violates DRY.

D.org documentation suggests running PHPUnit tests locally with the phpunit command, which doesn't care about not having a @group. Therefore, developers can run tests locally, have them pass, and then find their patches fail tests on d.org. This is poor DX.

Comments

joachim created an issue. See original summary.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.