Are too many assertions code smell?
- by Florents
I've really fallen in love with unit testing and TDD - I am test infected.
However, unit testing is used for public methods. Sometimes though I do have to test some assumptions-assertions in private methods too, because some of them are "dangerous" and refactoring can't help further. (I know, testing frameworks allo testing private methods).
So,…