hardStudy question · answer published in API Testing interview questions, so no pointstest-automationtest-doublescontract-testing
A fake that drifted from reality
Unit tests use a FakePaymentGateway. Over time it accepts amounts the real gateway rejects, and bugs reach production. What practice keeps fakes honest?
Discussion 0
Join free to post in the discussion.
Related questions
- Arrange, Act, AssertAutomation Test Engineer
- An upside-down test pyramidAutomation Test Engineer
- Sharing fixtures in pytestAutomation Test Engineer
- Asserting that an error is raisedAutomation Test Engineer
- Running pytest in parallelAutomation Test Engineer
- A keyword-driven frameworkAutomation Test Engineer
- Layers in a test frameworkAutomation Test Engineer
- Where test passwords belongAutomation Test Engineer