Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I think unit tests with mocks are practically useless

IMO that's on the extreme side too. I've seen a fair share of JUnit monstrosities with 10+ mocks injected "because the project has been written this way so we must continue this madness", but mocking can be done right, it's just overused so much that, well, maybe you're right - it's easier to preach it out than teach how to do it right.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: