Skip to content

FAQ

Frequent questions: exact ratios, when to vary, and how to fix an inverted pyramid.

Are 70/20/10 exact?

No. They are a range. A team with 65/25/10 is healthy; a team with 30/20/50 has inverted the pyramid and should rebalance. The direction of the ratio matters more than the exact numbers.

When can I vary from the pyramid?

For microservices (contract testing can replace E2E), for CLI tools (unit dominates), for data pipelines (integration dominates). The pyramid is the default; legitimate variations exist and are defended with reasoning, not adopted by accident.

How do I fix an inverted pyramid?

Reclassify, do not delete. Many E2E tests are integration tests in disguise (business logic asserted through the UI). Move them to integration; keep the few true E2E flows; add unit tests for the logic that was only covered by E2E.

How long should the whole suite run?

Under 10 minutes for the critical subset (unit + fast integration + a few E2E); under 30 minutes for the full suite. Above 30 minutes, the pyramid needs rebalancing.

Is the trophy replacing the pyramid?

No. The trophy is a frontend variation for component-heavy teams; the pyramid remains the default for backend services and full-stack applications.