⌂ diemex.dev
Software testing

The Test Pyramid

Six test types, stacked bottom-to-top by how often you write them and how expensive they get. Click a layer for what it actually covers, who writes it, and where it sits on the two axes alongside the shape.

Technical
(white-box)
What skill it takes Business
(black-box)
~80% base ~15% belly ~5% tip Unit Tests one method, everything else mocked Component Tests one cohesive chunk, e.g. a repo + real DB Integration Tests your system <-> one other system Acceptance Tests System Perf.
Fast
(seconds)
How it runs Slow
(hours+)

Click any layer in the pyramid to see what it covers.