I want to set up a gated checked-in policy for my project using TFS 2013 and VS 2013. I want to set up a process that before dev, checked in Unit Test and Code Quality analysis should run. I want to use Nunit for unit Test purposes. Can anybody share an example of how to set up the process?
Create a new build definition with a "Trigger of Gated" like so:
Then goto the "Process" tab and set it so that it does as many of the following as you like: