Comment by marvstazar
14 days ago
If you inherited a project with no tests at all, mocking is a lifesaver. It allows you to only worry about specific aspects of the application so you can start writing and running tests. I agree though that if not done properly, it can be overused and can make your tests practically worthless.
No comments yet
Contribute on Hacker News ↗