Vue · Senior · Question 48 of 75

What is the main trade-off between component tests and end-to-end tests?

Explanation

Most logic is covered by unit/component tests (Vitest + Vue Test Utils), with a smaller set of E2E tests (Playwright, Cypress) for critical user flows.

Further reading

Problem with a question

Vue · Senior · question 48

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz