Tsqlunit is a testing framework for Microsoft SQL Server. Open Source licensed under the LGPL license. It is available at http://tsqlunit.sourceforge.net