tSQLt, the open source unit testing framework for SQL2005+ has some really great features that allow database objects to be mocked, dramatically reducing the time needed to set up reference data for each test. But sometimes, just because you can do something doesn’t mean that you should; at least not all the time. In this [...]