I always tend to come out against unit testing for a lot of reasons. I have some carve-outs where I do very much like unit testing.

Today I ran into one of those cases.

Today I was writing the inner loop of some intricate logic. This is code that I was striving to get as close to 100% coverage as possible. Of course, I’m structuring my code to concentrate the complexity into one tiny spot. If I get the one tiny spot right then the rest of the code is that much easier to get right without the extensive unit testing.