End-to-end (E2E) testiranje provjerava kompletnu aplikaciju iz perspektive korisnika — testira potpune radne tokove kroz stvarni sustav (UI, backend, baza podataka) onako kako bi ih korisnik iskusio. Pruža najviši stupanj pouzdanosti da cijeli sustav funkcionira, ali je sporije i fragilnije.
Što E2E testiranje radi
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.
