Skip to content
IT glossary
TestingUpdated December 3, 2026

End-to-end testing

E2E-тестирование

An end-to-end test checks whether a complete workflow produces the expected result, from the action that starts it to the outcome the user or calling system depends on.

Also known as: сквозное тестирование

What an end-to-end test proves

A service can calculate the right price, and a page can render correctly, yet customers may still be unable to place an order. End-to-end (E2E) testing exercises a workflow against the assembled application to catch failures that only show up when its parts work together. It starts at a normal entry point and checks an outcome that matters to a user or another system. That entry point might be a browser, a public API, or an event the application is designed to receive.

Example: exporting a report

Suppose an analytics product lets customers export monthly sales reports. A test seeds a workspace with two known sales, signs in as a workspace member, and requests an export from the reports page. It waits for the download, then checks that the CSV contains the expected rows and totals. Checking only that the page says “Export requested” would miss a broken background worker or a file that downloads successfully but contains the wrong data.

The sales can be seeded through a fixture or setup API. Entering each sale through the browser would add time and more ways to fail without strengthening the check of the export workflow. The export itself, however, should go through the normal entry point.

Draw the boundary before writing the test

An E2E test does not have to include every service the product ever calls. For the export workflow, the deployed API, database, and background worker might all be in scope, while an unrelated email service is replaced with a stub. Replacing the export worker itself would change what the test proves: it could still check how the UI handles a completed export, but not whether the application can generate the file.

Where E2E tests fit

Keep E2E coverage focused on workflows whose failure would seriously affect users. Use unit tests to cover report calculations across many inputs and integration tests to check focused interactions, such as whether the worker can read and write files in the configured storage. A small E2E suite can then verify the complete workflow in CI. To make failures easier to diagnose, give parallel runs isolated test data, wait for observable outcomes with a timeout rather than using fixed sleeps, and retain useful logs or traces.

In interviews

When asked to design an E2E test, state what triggers the workflow, which dependencies are real, and what result would convince you it worked. Be ready to explain which edge cases you would test at a lower level and why.