Menu

1 / 12

Inside the Pyramid: The Ideal Shape for Drupal’s Test Suite

Drupal.org aggregator·about 18 hours ago
#OvrisxOB
#planetdrupal#tag1#test#tests#drupal
Long article (1571 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.