End-to-End (E2E)-Testing verifiziert die komplette Anwendung aus der Perspektive des Benutzers — es testet vollständige Workflows durch das echte System (UI, Backend, Datenbank) so, wie ein Benutzer sie erleben würde. Es bietet das höchste Vertrauen, dass das gesamte System funktioniert, ist aber langsamer und anfälliger.
Was E2E-Testing macht
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.
