Francesco Placella - Senior Architect | Technical Lead
November 18, 2026
Share
The Ideal Shape
As we touched on in Speed Up Your Testing with Deuteros, the Drupal test suite is not in an ideal shape. If we consider the distribution of tests among the various Drupal test types ( UnitTestCase , KernelTestBase , BrowserTestBase , WebDriverTestBase , and BuildTestBase ), we quickly realize that, instead of resembling the Test Pyramid, which relies on a wide majority of lightning-fast Unit tests, we are currently stuck with what I call the Test Spinning Birthday Cake:
Figure 1: The Test Spinning Birthday Cake.
Source: *Test.php files in core/tests and in core modules, profiles, themes and recipes; abstract classes left out.…