NUnit

If you are not familiar with NUnit, it is an open source unit testing framework. It is very similar to the unit testing tools that are available in the team versions of Visual Studio, which have specific tasks and targets. You can learn more about NUnit at its homepage, nunit.org. NUnit is not the only alternative to Visual Studio tests; another tool is xUnit.net, and there are many others. If you are using NUnit to test your applications, then you should automate running NUnit as a part of your build process. There are a few different ways to achieve this. One of the best options is to use the NUnit task that is available from the MSBuild Community Tasks, msbuildtasks.tigris.org. We will first take a look at this task and then describe ...

Get Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.