I'm trying to replicate Gated check-in functionality in Visual Studio + VSO + Git.
Actually I'd like to run Unit Tests before code will be committed to local repo OR pushed to remote.
But faced with an issue - there is no Gated check-in functionality in VSO + GIT.
I've tried to configure git hooks - pre-commit hook will work for me - but Visual Studio GIT provider doesn't support Git hooks! Its due to the libgit2 -it is used in Visual Studio and it doesn't support hooks:(
So my question is how can I run NUnit Tests automatically before commit in Visual Studio 2013 + VSO +Git and do not allow bad code get into my repo?
Thanks!