Thanks Maxi!
Ian Cooper's statement was an eye-opener to me. The behavior-centric nature of TDD is far from obvious, specially for people that's learning the practice. And the ambiguity of the notion of unit does not help much.
I hope my article contributes to clarify the issue a bit 🙂
Maxi Contieri
Software Engineer
Nice post!
Few people understand this
Adding a new class is not the trigger for writing tests. The trigger is implementing a requirement.
Michael Feathers gives a great definition of a unit
a Unit test is a fast test
It is completely unrelated to classes, structure and file naming conventions.
I would mix the two concepts