# End-to-End Test (E2E)

> A test that acts like a user. It clicks through the whole app.

**Field:** Software Development  
**Category:** Testing & Quality  
**Also known as:** E2E Test, E2E Testing, End-to-End Testing, UI Test

## Think of it like

Think of it like a test drive. You drive the whole car down the road, not just check the parts.

## 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.

## 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.

## Common mistake

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

## Three principles

- **The whole app.** Page, server, database.
- **Like a real user.** Clicks and types.
- **Few and important.** Slow and fragile.

## Related terms

- [Integration Test](https://learn.benibix.com/term/development/integration-test)
- [Playwright](https://learn.benibix.com/term/development/playwright)
- [Unit Test](https://learn.benibix.com/term/development/unit-test)
- [Flaky Test](https://learn.benibix.com/term/development/flaky-test)
- [Browser Automation](https://learn.benibix.com/term/development/browser-automation)
- [Cypress](https://learn.benibix.com/term/development/cypress)
- [Selenium](https://learn.benibix.com/term/development/selenium)

## Told apart from

- [Integration Test vs End-to-End Test](https://learn.benibix.com/compare/integration-test-vs-end-to-end-test): An integration test checks a few parts together, often without a browser. An end-to-end test drives the whole app in a real browser, the way a person does. End-to-end tests prove a real task works, but they are slower and break more often.

---

Source: https://learn.benibix.com/term/development/end-to-end-test
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
