Category Archives: Unit Testing

Unit Testing and Databases

Recently I’ve been refactoring some DB access code. Basically unraveling the DB code that is sprinkled throughout the code into a separate layer. Testing this code is challenging and honestly tedious. 

Posted in General, Unit Testing | Leave a comment

Which came first? (Chickens, code, eggs, and unit tests)

Kevin’s comment on my previous post brings up a couple of good points which, as I thought about them, are very closely related. One is the “test-first” approach – writing unit tests prior to the code to be tested. The … Continue reading

Posted in Unit Testing | 1 Comment

(Unit) Testing 1 2 3

I’ll probably be posting quite a bit about unit testing in this blog. NOT because I’m an expert in the topic – far from it. I’m also not particularly interested in discussing the efficacy of unit testing in general – … Continue reading

Posted in Unit Testing | 1 Comment