Skip to content
Sharp

Testing · interview question

Why can using real databases in integration tests become a problem in practice?

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

Correct answer

C. Increased test execution time.

Why

Using real databases in integration tests can lead to increased execution time and complexity in setting up and tearing down the test environment. However, they provide a realistic test environment that can catch more potential issues in data handling.

Test yourself on Testing

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

Start free test
All Testing questions →