hard20 pts · first answer countstest-automationtest-isolation
A cache that remembers old tests
A singleton PriceCache is filled by one test with a ₹999 price. Another test later expects ₹1,099 from a stubbed service but gets ₹999. What is the best long-term fix?
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