Unit testing in VS/TFS
Nicon
Posts: 6
In some of our upcoming projects we are required to implement automated unit testing for some of the database objects.
It seems that the only way to implement unit testing against DB objects in VS 2001 is to create a database project.
Since SQL source control cannot interface with this project type, is there anyway of implementing a unit test against the scripts that SQL source control generates? Or is there a way of interfacing with the database project that i am missing?
Thanks a lot.
Steve
It seems that the only way to implement unit testing against DB objects in VS 2001 is to create a database project.
Since SQL source control cannot interface with this project type, is there anyway of implementing a unit test against the scripts that SQL source control generates? Or is there a way of interfacing with the database project that i am missing?
Thanks a lot.
Steve
Comments
Database project support is an increasingly popular request. If this is something you'd like to see, please vote for it at:
http://redgate.uservoice.com/forums/390 ... ?ref=title
In the meantime we're recomment using NUnit or a similar framework to test your database code in the same way that you test your .NET code.
David Atkinson
Red Gate Software
Product Manager
Redgate Software
I have already voted!
If you're still interested in unit testing your SQL objects, maybe SQL Test might be something you could use?
http://www.red-gate.com/products/sql-de ... /sql-test/
I'd be interested to get your thoughts on this.
David
Product Manager
Redgate Software
Looks like what we were after.
I will get it installed and then let you know my thoughts.
Regards
Steve