Replies: 1 comment 7 replies
-
Awesome. Feel free to submit a PR to the docs if you want. A subsection on this page is probably the right place: https://bunit.dev/docs/providing-input/inject-services-into-components.html @linkdotnet what so you think? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a package solving the issue of having to mock unused dependencies in bUnit tests. It's actually a thin wrapper combining bUnit and Moq.AutoMock.
How annoying is it when a new feature is added to some component and existing tests break, while the new dependency isn't even used? I hope this package helps developers creating tests. I was hoping it could be added to the docs.
https://github.com/snerte/bunit.AutoMocker
Beta Was this translation helpful? Give feedback.
All reactions