2 ms·
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 in
by the_af 12y ago
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.