4 ms·
I've seen .NET projects with massive amounts of complexity because of DI introduced to support mocking. It's become a cult/fetish in some parts. There has to be
by ded3d 10y ago
I've seen .NET projects with massive amounts of complexity because of DI introduced to support mocking. It's become a cult/fetish in some parts. There has to be a better solution.
- JackMorgan 10y agoCheck out SimpleMock, it attempts to undo DI damage while still allowing for testing. http://deliberate-software.com/simplemock-unit-test-mocking/ http://deliberate-software.com/simplemock-unit-test-mocking/