Skip to content
Sharp

Testing · interview question

Why might you choose to use integration tests sparingly in a large e-commerce application?

Multiple choiceHardchapter-10-curatedpremiumtestingcontroller-testing
Choose one answer
Answer and explanation

Correct answer

B. They are slower and more resource-intensive than unit tests.

Why

Integration tests often require a full application context and real database interactions, which can make them slower and more resource-intensive. This is why they are usually complemented by faster unit tests that provide quicker feedback during development.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →