easyStudy question · answer published in Automation Testing interview questions, so no pointstest-automationtest-doubles
A double that returns fixed data
In a unit test, an exchange-rate service is replaced by an object that always returns 22.85 for AED to INR, with no checks on how it was called. What kind of test double is this?
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