When doing TDD, how to tell \"that\'s enough tests for this class / feature\"?
I.e. when could you tell that you completed testing all edge cases?
Kent Beck's advice is to write tests until fear turns into boredom. That is, until you're no longer afraid that anything will break, assuming you start with an appropriate level of fear.