Mar 03 2008
Score Two for Unit Tests
I just got back from my long weekend, and I had trouble remembering exactly what it was I was supposed to be up to. So, I ran my unit tests, and there it was — my failing unit test reminder of work to be done!
Even better, I thought I had implemented it, ran the test, and discovered that I had forgotten to persist the change to the database. The unit test caught that, so now I’ve really got confidence the code works.
Score two for unit testing.
Popularity: 3% [?]