break cmd-line build on low coverage numbers?

Can dotCover break a cmd-line build on low coverage numbers?  Is there a setting i can pass to dotCover binary?...  Thx!

2 comments

Hi Yuri,

Sorry for the late reply.
dotCover can't do it by its own. The ability to fail build upon coverage statistics is more build system feature, and is available for example in TeamCity 7.x : http://confluence.jetbrains.net/display/TCD7/Build+Failure+Conditions#BuildFailureConditions-failmetricchange

Regards.

0

it's ok... I produced xml report and it was rather simple to extract the coverage number from it.  Still, an option to break the build (as NCover provides) would be nice

0

Please sign in to leave a comment.