in reply to Test Driven Development, for software and for pancakes
From Effective Automated Testing, some benefits of using Test Driven Development (TDD):
For me, the first point above is the most important: TDD improves interfaces and design.
Of course, TDD is not a silver bullet. I've also experienced (and dislike) the religious fervour surrounding TDD. I've also experienced many large, tangled, legacy code bases where it's unreasonably difficult to test components in isolation. All these horrible old code bases were not developed with TDD. Would using TDD have helped? Probably. But IMHO the single most important factor in code quality is the skill and taste of the designers - not whether TDD was used.
Update: Added "cost of investigating lower for unit tests" bullet point. Added over-engineering comment to first bullet point.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Test Driven Development, for software and for pancakes
by stevieb (Canon) on Jul 23, 2017 at 21:45 UTC | |
by stevieb (Canon) on Jul 23, 2017 at 23:14 UTC | |
by Anonymous Monk on Jul 25, 2017 at 18:21 UTC | |
Re^2: Test Driven Development, for software and for pancakes
by talexb (Chancellor) on Jul 24, 2017 at 00:14 UTC | |
Re^2: Test Driven Development, for software and for pancakes
by Your Mother (Archbishop) on Jul 23, 2017 at 22:55 UTC |