A test suite built against a mock API passed every run for months. The real endpoint's response contract had changed in that time, but the mock hadn't, and nothing caught it because the tests only ever talked to the mock.

The mock returned a users array with name and email on each object. That was accurate when I built the mock, matching the real...