30 October 2012
In Part 11, we delved into mocking stored procedures and explored how to populate output parameters or add a row to a table when faking a procedure. In this post, we will look at views, including writing tests against the views themselves and also how to mock a view that another object under test depends [...]
Read the full article →
28 March 2012
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 [...]
Read the full article →