Monday, February 12, 2018

Enforcing “Run Tests After Build” for all developers of a solution

Leave a Comment

We want to enforce test settings for "Run Tests After Build"on all developers using our solution. Is there way to enforce this? e.g. checking in some settings file?

2 Answers

Answers 1

If this setting is a part of .vssettings file - you can do it using ReSharper + StyleCop. Checkout this article.

But, unfortunately, it's impossible using default Visual Studio instruments.

Answers 2

If you use TFS or other version control system there will many ways to achieve it. As example for TFS with JetBrains TeamCity: Pre-Tested Commit

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment