I've started to really enjoy writing tests for the code I'm working on. They are fun when you view them as a puzzle with a clear end, unlike most of software development. It used to be so hard to think of how to write them, with practice, it has gotten a lot easier.
@eighthave Writing tests lead to a different way of developing for me. I always have testing in mind and have thoughts like "this should be a dedicated dependency injected via constructor otherwise I can't test it or mock it here to test some special case"