Problem/Motivation
Replace annotation-based test metadata with PHP attributes.
Proposed resolution
1) Complete the conversion done automatically in #3526490: Convert test annotations to attributes in Drupal/BuildTests, #3533413: Convert test annotations to attributes in modules' BuildTests, #3533453: Convert test annotations to attributes in Drupal/FunctionalJavascriptTests, #3533515: Convert test annotations to attributes in Drupal/FunctionalTests, #3534043: Convert test annotations to attributes in modules' FunctionalJavascript tests and #3534515: Convert test annotations to attributes in modules' Functional tests with the remaining outliers.
2) Set PHPUNIT_FAIL_ON_PHPUNIT_DEPRECATION: true for Build, Functional, FunctionalJavascript test jobs in CI so to 'seal' the testsuites from regressions in using annotation metadata.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3543897
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3543897-complete-test-annotations
changes, plain diff MR !13116
Comments
Comment #3
mondrakeComment #4
mondrakeComment #5
smustgrave commentedJavascript failures were random. Re-running it's all green.
Comment #6
mondrakeComment #9
catchCommitted/pushed to 11.x, thanks!