🧪End-to-End Test (E2E)
Also known as E2E Test, E2E Testing, End-to-End Testing, UI Test
A test that acts like a user. It clicks through the whole app.
Think of it like
Think of it like a test drive. You drive the whole car down the road, not just check the parts.
Example
Lucy's end-to-end test opens her shop and adds a mug to the cart. It pays with a test card and checks for the thank-you page.
Why it matters
It is the only kind of test that proves a real person can finish a real task.
Definition
Common mistake
Key takeaways
- 1The whole app. Page, server, database.
- 2Like a real user. Clicks and types.
- 3Few and important. Slow and fragile.