DCSIMG
Wrap your NUnit unit test with VS Generic test - SRL Group

SRL Group

This blog is about Team System, QA and Development methodologies and more...

VSTS Resources

Team System Bloggers

Wrap your NUnit unit test with VS Generic test

This is an issue I discussed in the last ALM user group. For those of you who did not attend it, here is a summery.

Not all companies started their unit testing using the visual studio test capabilities. There are several reasons for it; for starters, NUnit has been there for several years, at least five years earlier then Visual Studio unit tests. Even more, NUnit is a more complete unit testing environment because it is a mature product. However, if choosing to continue working with it, you end up losing a lot of the TFS capabilities, for example the integration between tests and build.

So, there is a compromise... :)

You can still write your unit testing using NUnit framework and integrate it into Visual Studio tests framework.

Follow these steps:

  1. If you do not have NUnit framework, download it here: NUnit download and install it.
  2. Download the attached project.
  3. Change the location of the CovertTest.dll in the program file that is located under the ConvertTestWrapper.
  4. In the Generic test change the location of the ConvertTestWrapper.exe
  5. Build.

That is it...enjoy!

Comments

Team System News said:

Paul Hacker on WorkItem Custom Control issues. Neno Loje on stpBA: A Storyboarding solution for Team...

# April 9, 2007 4:33 PM

Guy kolbis said:

Previously I wrote some posts for my company's blog here at Microsoft blogs. Here are couples of my favorite

# May 3, 2007 11:15 AM

Adi said:

Pingback from http://dotmad.blogspot.com/2007/05/nunit-with-tfs.html
# May 12, 2007 2:15 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: