Sql Test and NUnit?

Easy unit testing for databases in SQL Server Management Studio

Moderators: JonathanWatts, David Atkinson, Anu Deshpande, Michelle Taylor, David Priddle

Sql Test and NUnit?

Postby dmc_lat47 » Tue Jul 22, 2014 7:14 pm

we have an enormous investment in the nUnit framework, and a bunch of infrastructure built up around it.

is there a way to get nunit from c# to run Sql Test tests? I saw somewhere that TSqlT can be manipulated by nUnit, but was unclear on how to get the redgate wrappers run...

anyone have any experience with this?

thanks in advance
dmc_lat47
 
Posts: 2
Joined: Tue Jul 22, 2014 7:06 pm

Postby Brian Donahue » Thu Jul 24, 2014 11:51 am

From my point of view, it should be possible - all you need to do is call the stored procedures with some .NET code and gather up the results.

Since you're only likely to get specific help with problems regarding Red Gate SQL Test on this forum, you may want to try some more general developer communities for help on integrating Red Gate tools with other platforms. There is a discussion on Stack Overflow that may be helpful.

http://stackoverflow.com/questions/1883 ... unit-tests
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby dmc_lat47 » Thu Jul 24, 2014 5:27 pm

thanks for the pointer...
dmc_lat47
 
Posts: 2
Joined: Tue Jul 22, 2014 7:06 pm


Return to SQL Test

Who is online

Users browsing this forum: No registered users and 0 guests