API Testing · Senior · Question 43 of 75

What is the advantage of component tests that start one service with real DB in containers?

Show the answer

Correct answer: Realistic behaviour with fast, isolated runs and no shared staging

Explanation

Testcontainers-style setups give each run its own database, so tests can be destructive and parallel.

Further reading

Problem with a question

API Testing · Senior · question 43

Test yourself

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

Take this quiz