Skip to content
Latchkey

Test Pyramid - CI/CD Glossary Definition

The test pyramid is a strategy that recommends many fast unit tests at the base, fewer integration tests in the middle, and a small number of slow end-to-end tests at the top.

Why the shape

The higher up the pyramid, the slower, more brittle, and more expensive tests become, so the bulk of coverage should come from cheap unit tests.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →