Complete test annotations to attributes conversion for all Build, Functional, FunctionalJavascript tests

Created on 29 August 2025, about 1 month ago

Problem/Motivation

Replace annotation-based test metadata with PHP attributes.

Proposed resolution

1) Complete the conversion done automatically in 📌 Convert test annotations to attributes in Drupal/BuildTests Active , 📌 Convert test annotations to attributes in modules' BuildTests Active , 📌 Convert test annotations to attributes in Drupal/FunctionalJavascriptTests Active , 📌 Convert test annotations to attributes in Drupal/FunctionalTests Active , 📌 Convert test annotations to attributes in modules' FunctionalJavascript tests Active and 📌 Convert test annotations to attributes in modules' Functional tests Active with the remaining outliers.

2) Set PHPUNIT_FAIL_ON_PHPUNIT_DEPRECATION: true for Build, Functional, FunctionalJavascript test jobs in CI so to 'seal' the unit testsuite from regressions in using annotation metadata.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

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

Comments & Activities

Production build 0.71.5 2024