Creating Your Own Fakes Instead of Using Mocking Libraries #82
Replies: 2 comments 12 replies
-
|
Nice article about Faking data, I've dedicated some slides to it in our C# course, "Fake it 'till you make it" using bogus. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
There's something I've been wanting to try. Rather than implementing them with a class, I want to try creating an interface that inherits from the real interface and implements the methods now that interfaces allow this, then pass that into the class you're testing |
Beta Was this translation helpful? Give feedback.
12 replies
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.
-
Creating Your Own Fakes Instead of Using Mocking Libraries
With respect to the current topic around Moq, I want to showcase how you can easily roll out your own fakes so that you are not depending on a third party library.¨
https://steven-giesel.com/blogPost/2ad414c8-273f-4976-a9de-c95f0e791d51
Beta Was this translation helpful? Give feedback.
All reactions