QA Fundamentals · Middle · Question 22 of 75

What is a risk of mocking too much?

Show the answer

Correct answer: Tests pass while the real integration is broken

Explanation

A mock encodes assumptions about the other side. If the real API changes, the mocked tests stay green. Integration or contract tests catch that gap.

Further reading

Problem with a question

QA Fundamentals · Middle · question 22

Test yourself

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

Take this quiz