Unit tests as daily affirmations
I think that all major users of unit tests might just have a little Stuart Smalley in them, without the explicit spoken daily affirmations. After talking with my wife tonight, I realized that one of the reasons I like unit tests, is because its like a big list of affirmations of my coding ability.
Interesting point. I also like the extra confidence they give you when refactoring code.
It tells them what they bothered to test in an isolated
son of parnas
I have my unit tests run when I start my environment. It's basically a feeling that no matter what my life is like, at least I'm entering a world where my code works. And I've written my own test harness, which I think is better than xUnit, so there are qualitative advantages there. In fact, using my test harness is when I start throwing corner cases at my code, so it's like having a little war against my former self who wrote the code.
Tayssir John Gabbour
Fog Creek Home