Menu

1 / 6

Inside the Pyramid: Hiding Entities from Your Domain Code

Drupal.org aggregator·3 days ago
#DvKImM8P
#planetdrupal#tag1#function#test#class
Long article (937 words) — no AI summary yet.
Reading 0:00
15s threshold

Francesco Placella - Senior Architect | Technical Lead

December 2, 2026

Share

This is the third post in Inside the Pyramid, a four-part series on reshaping Drupal’s test suite so it runs faster and costs less. The series comes from my DrupalCon Rotterdam 2026 session and supports the initiative to adopt the Test Pyramid approach in Drupal core, which is looking for contributors. The first post, The Ideal Shape for Drupal’s Test Suite, looked at how the suite got its current shape and why the Test Pyramid is a better target. The second, Guiding Principles for a Faster Drupal Test Suite, laid out the principles behind the guidelines I propose. This one shows what those principles look like in code, using a small newsroom module.

Articles, Not Nodes

Everything starts from an article interface.…

Continue reading — create a free account

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