Skip to content

Why it matters

E2E tests are the only layer that proves a user can complete a business-critical flow; everything below verifies that the pieces work, only E2E proves the pieces connect into something a customer can use.

Two numbers frame the value. The Google Testing Blog's "Just Say No to More End-to-End Tests" (Wacker, 2015) — still the industry's most-cited piece on the subject — recommends 70% unit, 20% integration, 10% E2E and identifies E2E as the layer where flakiness compounds fastest [1]. Google's own analysis of 4.2 million test runs at the time found that the median E2E test failed intermittently at a rate of 1.5% per run — a rate that, on a suite of 500 tests, produces 7+ spurious failures per CI cycle.

The Chrome team's public engineering docs reinforce the point from the perspective of a project that invests heavily in E2E: Chromium runs ~50,000 E2E tests per commit across its CI fleet, at an infrastructure cost measured in thousands of CPU-hours per day [2]. The scale is achievable for a company with Google's resources; for the median SaaS, the honest budget is 10-50 E2E tests covering the flows whose failure would cost revenue in real time — sign-up, checkout, login, payment, critical API.