Re:Testers vs. TDD
by necovek on Monday June 29, 2020 @04:50AM
(#23675703)
That's exactly how TDD does not work.
You work against requirements (A to B), and you solve the problem incrementally.
The main mantra of TDD is refactor constantly. That means that you are never writing tests for things you do not know you need, but that you are building up your solution from small parts that get turned into more complex parts (and get refactored) as you go.
And with just a little bit of practice, that refactoring effort becomes a second nature and means no overhead at all: you are just expressing your iterative, creative process through code.
You work against requirements (A to B), and you solve the problem incrementally.
The main mantra of TDD is refactor constantly. That means that you are never writing tests for things you do not know you need, but that you are building up your solution from small parts that get turned into more complex parts (and get refactored) as you go.
And with just a little bit of practice, that refactoring effort becomes a second nature and means no overhead at all: you are just expressing your iterative, creative process through code.