开发者

Visual Studio TFS build with code coverage

开发者 https://www.devze.com 2023-01-11 02:20 出处:网络
Essentially what I would like to do is write a visual studio build script that will only build the solution if my code coverage requirements have been met.

Essentially what I would like to do is write a visual studio build script that will only build the solution if my code coverage requirements have been met.

So essentially, after compiling and running the automated testing of the solution, I want to pass the build (working with Team Foundation server) only if a cert开发者_JAVA百科ain % of the code is covered by testing.

Any input is highly valued; resources, a solution, or even "that's impossible"

Thank you!


A bit late but for someone else looking at this post the following blog post explains how to do it

Fail a Build if Code Coverage is Low

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号