Replies: 2 comments 4 replies
-
What aspect of the context do you want to mock, but can't? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Besides the suggestion of @Code-Grump about context injection, for code consistency, I think adding |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I have fair number of extensions methods but I can't write unit tests, only integration tests, since
ScenarioContext
is not fully mockable fromIScenarioContext
.It might be as simple as making
IScenarioContext
inherit fromIDictionary<string, object>
Any objects to a PR along these lines or a different approach?
Beta Was this translation helpful? Give feedback.
All reactions