The Testing Trophy
A modern rebalancing of the test pyramid (Kent C. Dodds) that puts integration tests at the center, where they give the best confidence-to-cost ratio for front-end apps.
Definition
The Testing Trophy reshapes the classic pyramid for modern front-end development. From bottom to top: static analysis (types, lint), unit, integration (the largest band), and end-to-end.
Why integration grows
“Write tests. Not too many. Mostly integration.” — Kent C. Dodds
In component-based UIs, integration tests (rendering real components together, mocking only the network boundary) catch the bugs users actually hit, while staying far more stable than full E2E.
Grafo de conocimiento
Alternativa a