Skip to content
Testing·Intermediate·Conceptual·1 min read

When is an e2e test the wrong tool for a piece of coverage?

Short interview answer

When the behavior can be verified with an integration or component test that runs in a fraction of the time with less fragility. Reserve e2e for journeys whose end-to-end integration is itself the risk being managed.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to End-to-end testing

Related questions