Running NUnit tests in the CI Pipeline using TFBuild

Traditionally, developers using the NUnit framework had to install the NUnit Test Adapter on the build machines. While this approach worked if you were dealing with a small number of build servers, it quickly became tedious when dealing with large number of build servers. An alternative to installing the NUnit adapter was to inject the NUnit adapter DLLs to the build machines using the custom assembly field available in the build controller properties. While this worked with TFVC-based repositories, there were challenges using this approach for Git-based repositories. This is a classic example of configuration hell when using non-Microsoft testing frameworks.

The new build framework makes running ...

Get Microsoft Team Foundation Server 2015 Cookbook 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.