Writing unit tests is like running 10 miles. You don't always like it much at the time, but you're almost always better off for it.