tSQLt
Download the latest version of tSQLt and start unit testing your SQL code.
Download the version working with SQL 2005 (and currently Azure SQL Databases).
Source code
The tSQLt source code is hosted on GitHub and is also available as download, together with all of its tests.
Other downloads
We’ve also created an extensive set of snippets for Redgate’s SQL formatting tool, SQL Prompt, to make working with tSQLt easier.
External tools
There are several commercial SSMS extensions that make running tSQLt test cases more intuitive by providing a graphical user interface. Our preferred option is Redgate’s SQL Test, the official SSMS plug-in for tSQLt.
Redgate have put a lot of resources behind the development and continuing maintenance of the tSQLt framework, and use tSQLt themselves in their own development processes.