gripmock icon indicating copy to clipboard operation
gripmock copied to clipboard

Support a set of response for the same kind of requests

Open 27149chen opened this issue 6 years ago • 1 comments

Like the python mock, I can set a list of responses in this way: say_hello.side_effect=["h1", "h2"], and first call will return "h1", while second call will return "h2". Is it possible to do it in gripmock?

27149chen avatar Aug 06 '19 03:08 27149chen

for now I don't it's possible. since we are based on Go. But I will put that for future development

jekiapp avatar Aug 09 '19 06:08 jekiapp