End-to-end (E2E) testing verifica la aplicación completa desde la perspectiva del usuario — probando flujos completos a través del sistema real (UI, backend, base de datos) tal como los experimentaría un usuario. Proporciona la confianza más alta de que todo el sistema funciona, pero es más lento y más frágil.
Qué hace el testing E2E
E2E tests verify COMPLETE user flows through the WHOLE system:
→ simulate a real USER: open the app, click/type, navigate, submit, verify results
→ exercise the FULL stack: UI → backend → database → and back (everything integrated)
→ e.g. "user logs in, adds an item to the cart, checks out, sees confirmation"
→ tests the app as users actually experience it.
