Project Description
Add support for NUnit to TFS 2008's Team Build so that your NUnit test results are visible in the build log and incorporated into the data warehouse for reporting.

Great for teams with an existing investment in NUnit tests, or those who prefer NUnit over other testing frameworks.

To add support for NUnit to your build you need to follow a few simple steps:
  1. Make sure NUnit is installed on your build server.
  2. Unzip the files from the download and add them to source control in the same folder as your TFSBuild.proj
  3. Update the NUnitTFS.exe.config file to point to your TFS server
  4. Change your build script to run NUnit and then call the NUnitTFS utility (see the sample script for an idea of how this is done)
  5. Run your build!

If it's all set up correctly the next time you build you should see your build logs looking something like this:



If you follow the sample script you'll also need to make sure you have the The MSBuild Community Tasks installed on your build server.

Version 1.0 required MSTest to be installed for publishing test results, but this is no longer a requirement as of version 1.1.

This release has been tested with NUnit 2.4.7, 2.4.8 and 2.5.2.

For more information see the developer notes and http://www.mrkwatkins.co.uk/Blog/2009/07/25/Making-NUnit-Play-Nicely-With-Team-Foundation-Server.
Last edited Nov 28 2009 at 8:00 PM by MrKWatkins, version 9

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (2)

Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187