Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I need good tool for database unit testing

I've tried to test SQL Server database stored procedures (write tests like unit) using Visual Studio 2010 testing tool but it is very inconvenient.
Is there any another more convenient tool for testing database stored procedures?

like image 980
Sergey Metlov Avatar asked Jul 31 '11 17:07

Sergey Metlov


2 Answers

Check out TSQLUnit for an open source, SQL Server unit testing app. And there are several more SQL Server-specific testing apps listed on this page.

like image 172
Paul Sasik Avatar answered Oct 17 '22 02:10

Paul Sasik


We are using NUnit, and wrote our own library in C#. Works really well for us, and here are some articles where we have described the approach: Close these Loopholes - Reproduce Database Errors

like image 31
A-K Avatar answered Oct 17 '22 01:10

A-K