Simple Check-In Quality Gate with GIT

For many moons I used to ponder on the challenge of how to get Visual Studio and TFS to stop developers from checking in code when the tests didn’t pass.

I guess it was probably possible but I just always ran into a wall of boringness trying to figure out how to write the hooks into TFS… and probably have to port all my NUnit tests to the abomination that is MS-Test.

I hate to come over all evangelical, but life is just seems a lot easier out here in open-source-land sometimes. Just look at this example of how set up such a gate-keeper for Ruby apps using Git with just two lines of code.

Sweet.

Published by Matt

I write software, and love learning how to do it even better.

Leave a comment

Your email address will not be published. Required fields are marked *