Enforce tests run before TFS check in
-
29-09-2019 - |
Question
Does anyone know how to enforce that all tests pass before a TFS check in?
Solution
TFS provides so-called Gated check-ins. That means: the complete build (which includes the test runs) is run and has to pass, otherwise the check-in is rejected. It's quite performance-demanding and somewhat time-consuming, when working in a larger team, but otherwise works like a charm.
HTH.
OTHER TIPS
You can use the default "Testing checkin policy".
If you want to create your own testing policy, you can use this.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow