Recently, I wrote a post about my talk at the 1st International Conference on Test-Driven Development (TDD). The post covers the part where I discuss about the notion of robust tests and how unit size impacts robustness. In that post, I leave one que...

Markdown supported · ⌘↵ to post
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