Mock setup using verify file #1551
distantcam
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using a mocking library it can be very verbose to set up the mocks before the act part of a test. When using verify on a mock library however there's a record of what got called.
What if we could use the verified file to set up the mock first?
So my question is, is there a way in verify to get the verified file first? Then I can read that file and set up the mock based on it.
Beta Was this translation helpful? Give feedback.
All reactions