Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Can You Unit Test Your Database? You Bet


Historically, if you asked what unit testing was, you’d probably get a curious mix of definitions. Personally, I’ve seen them run the gamut. This has included everything from very specific definitions of automated testing to the extremely vague: “it’s when you test the stuff you just did.” I attribute this phenomenon to the juxtaposition of two fairly general, subjective concepts: “test” and “unit.”

This is a companion discussion topic for the original entry at