The "test pyramid" is a heuristic for how a healthy automated test suite should be shaped: many fast, cheap unit tests at the base, a smaller layer of integration tests checking how components work together, and a thin cap of slow, expensive end-to-end (E2E) tests that exercise the whole system like a real user would. Each layer here is built from instanced blocks — one per simulated test case — stacked into a pyramid whose width encodes how many tests live at that level.
Mike Cohn's original 2009 "test pyramid" argued that because UI/E2E tests are slow, brittle and expensive to maintain, teams should push most of their coverage down into fast unit tests — a principle still central to modern CI/CD and shift-left testing practice.
A 3D test pyramid built from instanced blocks — one per simulated test case — where glowing pulses climb from unit tests up through integration to end-to-end tests, showing how suite shape controls feedback speed.
Wide, fast unit-test layers give near-instant feedback; thin, slow E2E layers take far longer per run. Shifting the suite toward the "ice cream cone" anti-pattern visibly slows the whole pipeline down.
Set the unit and integration test share, run speed and flakiness, then watch pulses climb the pyramid — green passes, red pulses stall to show a failing run being investigated.
Mike Cohn's 2009 test pyramid remains the standard mental model for shift-left testing: put most of your coverage in cheap, fast unit tests, and reserve slow, brittle E2E tests for the handful of critical user journeys.