Hacker News new | ask | show | jobs
by CodeCube 3665 days 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