Hacker News new | ask | show | jobs
by lambda_dn 1014 days ago
Does your user run your software with stuff mocked out? The reason for testing is getting ahead of issues before the user finds them.
2 comments

> The reason for testing is getting ahead of issues before the user finds them.

The customer always uses software in some unexpected way, but we don't defer all "testing" to just watching the customer interact.

Testing is to give developers the fastest, most meaningful, most actionable feedback about their code changes so that they can make better decisions.

Customer issues are not the only things we're worried about. And software seems to be usable and make plenty of money even when users see something screwy once in a while.

I think I had my response : I use mock mostly for integration tests. And those are not in the scope of this article