|
|
|
|
|
by warkid
3864 days ago
|
|
> Personally, what annoys me the most about TDD I've seen in the wild are two things It's like saying that one is annoyed by programming in general because he's seen too many horrible things done with it! Anything can be abused, TDD is not an exception. > your tests become more complicated than the tested code Well, then don't tdd that code on unit level. Keep some high-level(smoke, integration etc) tests that executes it , relax and write/design it without TDD the best way you can. > Tests affecting the structure - this is IMO a strong code smell. Yes, and this smell (by definition) shows you a flaw in the code design. TDD helped to identify this. Apparently) |
|