Hacker News new | ask | show | jobs
by viceroyalbean 1402 days ago
If your goal is to avoid coupling tests to implementation then TDD seems like the most obvious strategy. You write the test before the implementation, so it is much harder to end up with the coupling than other strategies.