4 ms·
I agree that TDD sometimes cause complexity. But TDD done right usually use coarse-grained tests which usually require less flexibility because it's almost end
by namelosw 6y ago
I agree that TDD sometimes cause complexity.
But TDD done right usually use coarse-grained tests which usually require less flexibility because it's almost end to end, and require less layered architecture. It's more like a description of the desired business behaviour.
Even better, TDD done right requires people to write those business cases as test first, then implement with minimalist approach - this enforce people to write straightforward code which happened to just support what the business requires.