Skip to content
Sharp

Testing · interview question

Which of the following statements about integration tests is true regarding their execution time compared to unit tests?

Multiple choiceMediumchapter-10-curatedpremiumtestingintegration-testing
Choose one answer
Answer and explanation

Correct answer

B. Integration tests are usually slower due to involving multiple components.

Why

Integration tests often involve multiple components and external systems, such as databases, making them slower compared to unit tests. Unit tests focus on single components, allowing them to execute quickly.

Test yourself on Testing

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

Start free test
All Testing questions →