Skip to content
mindriven edited this page Aug 31, 2013 · 9 revisions

Features Development

Please give feedback in issues, if there will be enough interest I will probably implement them

Failing build based on coverage value (or change)

Using this plugin you can use standard TC functionality to fail the build. Metric that gets published from plugin is available under(standard) name "percent of line coverage" on TC "Build Failures conditions" page.

Usage

Most of fields in configuration should be obvious to fill in based on documentation of OpenCover, ReportGenerator and your test library. Below you can find screenshots of my test setups done for nUnit and MSTest.

xUnit can also be used, but since xUnit command line runner has limitation of accepting only single test assembly, assemblies path need to resolve to single command path. There is an improvement issue created to support this kind of runners.