Skip to content
BENIBIX Learn

End-to-End Test (E2E)

Development🧪 Testing & QualityTest Types

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

An end-to-end test uses the whole app the way a real person would. A tool opens a real browser, clicks buttons, types into forms and checks what appears. It runs through every layer at once: the page, the server and the database. These tests are the slowest and the most likely to break for small reasons. So teams keep them for the paths that matter most, like sign-up and checkout.

Common mistake

Writing an end-to-end test for every small detail. The suite becomes slow and breaks often; test details lower down.

Key takeaways

  1. 1
    The whole app. Page, server, database.
  2. 2
    Like a real user. Clicks and types.
  3. 3
    Few and important. Slow and fragile.

Compare