Hacker News new | past | comments | ask | show | jobs | submit login

Could you give an example of situations where there would not be small and well-defined inputs and outputs because this certainly does not sound like a common situation to me?

And what do you mean by 'Tests that only asses their own mocks are a waste of time.' Certainly, many side effects can very effecitively be checked by mocks. Now, it could certainly get much more difficult if the side effects were very large and hard to define as you said in the paragraph before that, but I have some difficulty picturing that as a common situation.




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

Search: