Add #[RunTestsInSeparateProcesses] attribute to all Kernel and Functional tests

Created on 4 May 2024, over 1 year ago

Problem/Motivation

Process isolation in PHPUnit 10 must be specified on a single class level or as a global switch.

This causes issues because Drupal needs to run Unit tests NOT in isolation for performance reasons.

Proposed resolution

In this issue, explore adding #[RunTestsInSeparateProcesses] attribute to all Kernel and Functional tests, through an automated Rector script.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated 5 days ago

Created by

🇮🇹Italy mondrake 🇮🇹

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