Running nUnit Tests in Parallel in TFS Build 2015


We're using Microsoft TFS and the new builds to build our application and run unit and integration tests. We're now at the point where the unit tests can take 15 mins to run, and looking at bringing these times down.

This is my current set up in TFS Build:

enter image description here

What is the currently recommended way to run nunit tests in parallel as part of a TFS 2015 build?


I asked this question on the MSDN forums too. From there:

You should be able to use this trick after you've upgraded tot[sic] 2015.1, though it may need adapter support from the NUnit team, not sure where that stands:

 <?xml version="1.0" encoding="utf-8"?> 
         <!-- Add this line, default is 0, which makes it run single threaded -->

Original Link

I haven't been able to verify this yet as we need to first upgrade to TFS2015.1 from 2015.

This video can help you solving your question :)
By: admin