← 🧪 Algorithms & AI

🧪 Test Pyramid

Ice-cream-cone (inverted) shape
Total test cases:
Avg. feedback time:
Runs this session: 0
Pass rate:
FPS:
Drag — rotate · Scroll — zoom

🧪 Software Testing Pyramid

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.

🔬 What It Demonstrates

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.

🎮 How to Use

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.

💡 Did You Know?

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.