by darkFunction · 11y ago · 0 comments
Mappings + conversions are such a case.
For example if you're using an ORM being able to test the mappings in seconds will increase velocity. Or if you've written a function to convert type T0 to type T1, then automatically testing all combinations of T is very effective.
On average though, it takes longer (as summarised in the article).
It's a question of tradeoffs, something I've said many many times, and the research appears to be bearing that out.
No one who is being honest can really say with a straight face that development with TDD is actively faster unless they're naive or they're using cherry picked examples.
If you want it out now, but have loads of bugs sure. But i'm pretty sure most managers don't mean that, when they say they want it out sooner.
TDD has both costs and benefits. Like most everything else.