Enable concurrent phpunit. Fix @group.

Created on 12 September 2024, 5 months ago

Problem/Motivation

Trying to use concurrent testing resulted in hard error stating:

PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
Drupal\Core\Test\Exception\MissingGroupException: Missing @group annotation in Drupal\Tests\genpass\Functional\PasswordTokenTest in /builds/project/genpass/web/core/lib/Drupal/Core/Test/TestDiscovery.php:343

Steps to reproduce

Run tests pipeline with _PHPUNIT_CONCURRENT=1 parameter set.

Proposed resolution

Fix @group annotation and any other issues encountered with enabling concurrent tests.

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

🐛 Bug report
Status

Fixed

Version

2.1

Component

Testing

Created by

🇦🇺Australia elc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024