Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

e2e
testing
software testing

Why are E2E tests slow?

Arslan Tariq

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Overview

End-to-End (E2E) testing is a technique for testing an entire software product from start to finish to ensure that the application flow works as expected. It defines the system dependencies of the product and ensures that all integration components work together as expected.

The main purpose of E2E testing is to test from the end-user experience by simulating real user scenarios and verifying the integration and data integrity of the system under test and its components.

Why E2E tests are slow

  • They need a functional back-end application. We cannot launch an E2E test without a server.

  • They depend on the resources leveraged by the back-end. However, it is common to have limited back-end resources for the non-production environment.

Why are E2E tests slow?
  • They depend on the network. Everything that could affect the network is going to affect the tests too.

  • The tests must be deterministic because they require a lot of reliability.

RELATED TAGS

e2e
testing
software testing

CONTRIBUTOR

Arslan Tariq
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring