Adding an option for a default value for Mock-driven test-double #29
Unanswered
are-scenic
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are often cases in which a certain test-double in most of the tested is anticipated to return some default value, and only in specific dedicated tests we try out other different values.
Today, STAT-POP API that is used to implement such test-double requires doesn't allow default values, but always requires a Mock to be created for each call. Adding the ability of defining default values might improve the developer experience greatly.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions