Hacker News new | ask | show | jobs
by regularfry 4639 days ago
TDD advocates would disagree.
1 comments

I'm not sure I follow. What exactly would TDD advocates disagree on?
I think he is replying to this:

> ... your tests shouldn't dictate how you will design and write your application

I know that's not your whole quote and a lot of context is lost in that "...", but I think that's what he's replying to.

Pretty much, yes. TDD would say that if testing is painful, changing your design to take away that pain will leave you with a better design overall.