break cmd-line build on low coverage numbers? Yuri Romanenko Created November 03, 2012 01:28 Can dotCover break a cmd-line build on low coverage numbers? Is there a setting i can pass to dotCover binary?... Thx!
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.
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