News for hackers. Stuff that matters.
Re:Why I don't mock by the_af on Wednesday May 28, 2014 @07:11PM (#7813576)
This is technically true but I don't think it's a good argument against mocking or test doubles.

By this reasoning, the test suite itself causes coupling to increase. For any component C, you have at least N=2: when it's used in production code, and when it's tested. If you don't test C, you reduce N to 1. This doesn't sound like a good argument against testing, though.

There are no comments on this comment yet.