Wednesday October 19, 2005
I've re-discovered something I am bad at. I'm slightly ashamed to admit it, but I am very bad at testing my own code. To be specific, I'm bad at spotting when fixing one problem causes or re-introduces a different one. I already know the fix for this. It is quite simple: write the unit tests as you go along, and make sure they all still pass after you've added a new bit. I let myself slip away from doing this, because I was feeling some deadline pressure. But I just proved to myself yet again that writing tests doesn't cost you time, it saves you time.
Well, lesson learned — properly this time, I hope.
Tag: Unit Testing
( Oct 19 2005, 08:12:42 PM PDT ) Permalink Comments [2]
Posted by William R. Walling on October 20, 2005 at 08:13 PM PDT #
Posted by Chris Quenelle on October 23, 2005 at 08:09 AM PDT #