3 ms·
I do as well ... I've used mocking frameworks, and about the only time it's useful is if you have code you don't control that includes static methods. But in th
by CodeCube 10y ago
I do as well ... I've used mocking frameworks, and about the only time it's useful is if you have code you don't control that includes static methods. But in those cases, there are still ways to abstract that out of the code that needs to be tested