How can you unit test a database in SQL Server?

Question :

How can you unit test a database in SQL Server?,

Answer :

What are some of the ways? What frameworks can you use?

,

Well, I presume you mean unit testing your code that hits the database, in which case, there is , which appears to be a DbUnit clone for .NET. I’ve never used it, but I have used DbUnit, and it is quite useful.

Edit: I assumed you were using .NET because you mentioned MSSQL. If however you are actually using Java, there is

That’s the answer How can you unit test a database in SQL Server?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Apache Download: Make sure that page was viewed before download

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you