I've spent the last few hours trying to clean up the code of my Wiki, with a goal of eventually ending up with something I can make more widely available.
One big problem. I was lazy when I wrote this. No unit tests. I'm trying to do major changes to the functionality, and there's nothing telling me what I have, or haven't broken. You get this interesting feeling in the pit of your stomach when you make a big change, one of those "what have I missed?" feelings. If I'd written unit tests, I'd have a little green bar to tell me nothing was broken.
Of course, what I should do is take time out to write tests now. But...
4:39:15 PM
|