Inside the Pyramid - A path to faster, clearer Drupal testing
30 Sep 2026, 9:40 am (UTC)
45 Minutes
Speakers
Drupal’s automated test suite is slow in part because contributors lack formal guidance on which test type to use for each scenario. Kernel and functional tests often become the default, even when a unit test could be faster and equally valid. The test pyramid offers a strategy for choosing test types across Drupal core, contributed projects and custom code.
The session reviews techniques for writing faster tests and structural and tooling reasons the suite favors slower test types. It considers proposals for guidelines, tooling and documentation, along with designing code for better unit testability. It also covers how Drupal’s four test types map to the pyramid, existing drupal.org issues and contributed tools, and how contributors can assess common scenarios and participate in a formal initiative.