NCover Documentation
Docs  ›  Legacy  ›  Reference  ›  NCover 2.0  ›  NCoverExplorer.Console  ›  Build Control

Minimum Coverage

Usage: /minCoverage:[percentage] or /m:[percentage]

Specifies the minimum coverage percentage threshold to utilize with the /failMinimum and /failCombinedMinimum options.

Example: NCoverExplorer.Console Coverage.Xml /minCoverage:85 /failMinimum or NCoverExplorer.Console Coverage.Xml /m:85 /failMinimum

Fail Minimum

Usage: /failMinimum or /f

Specifies that if the minimum threshold is not met, the execution fails.

Example: NCoverExplorer.Console Coverage.Xml /minCoverage:85 /failMinimum or NCoverExplorer.Console Coverage.Xml /minCoverage:85 /f

Fail Combined Minimum

Usage: /failCombinedMinimum or /fc

Specifies that if the minimum threshold is not met, the execution fails.

Example: NCoverExplorer.Console Coverage.Xml /minCoverage:85 /failCombinedMinimum or NCoverExplorer.Console Coverage.Xml /minCoverage:85 /fc

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online