Unit Testing Database Code

Member Submitted

The problem is this: You have an SQL database, some stored procedures, and a layer of code sitting between your application and the database. How can you put tests in place to make sure your code really is reading and writing the right data from the database?

About the author

Richard Dallaway's picture Richard Dallaway

Richard Dallaway is an independent software developer living and working in and around Brighton, UK. His main focus of work is providing server-side solutions for the publishing industry.

AgileConnection is one of the growing communities of the TechWell network.

Featuring fresh, insightful stories, TechWell.com is the place to go for what is happening in software development and delivery.  Join the conversation now!