NCoverExplorer.MSBuildTasks FREE Version 1.4

NCoverExplorer Properties

The properties of the NCoverExplorer class are listed below. For a complete list of NCoverExplorer class members, see the NCoverExplorer Members topic.

Public Instance Properties

ConfigName Gets or sets the name of the temporary XML config file being generated for coverage.
CoverageFiles Used to select the coverage xml files to merge into the report.
Exclusions Coverage exclusions to apply, in one of two formats: They can be semi-colon delimited "Type=Pattern" pairs, e.g. "Assembly=*.Tests;Class=My.*". Alternatively they can be defined in a property group as a <CoverageExclusions> section. See the examples for both formats. If you want to use regular expressions then you must use the <PropertyGroup> approach.
FailCombinedMinimum Whether to fail the task if the minimumCoverage threshold is not reached on total coverage. NCoverExplorer console application will return exit code 3.
FailMinimum Whether to fail the task if the minimumCoverage threshold is not reached on any module. NCoverExplorer console application will return exit code 3.
Filter The filtering if any to apply (use numeric value or string name). 0 / None, 1 / HideUnvisited, 2 / HideFullyCovered, 3 / HideThresholdCovered
HtmlReportName The filename for generating an html report.
MergeFileName The filename for the merge of the coverage xml files.
MinimumCoverage The minimum coverage percentage to be used with the FailMinimum and FailCombinedMinimum options.
ModuleThresholds Module thresholds to apply, in format "AssemblyName=Percentage", e.g. "MyApp.Core=75"
OutputDir Gets or sets the output directory for the reports.
ProjectName The .config filename for containing any custom exclusions and parameters.
ReportType The type of report to produce (use numeric value or string name). 0 / None, 1 / ModuleSummary, 3 / ModuleNamespaceSummary, 4 / ModuleClassSummary, 5 / ModuleClassFunctionSummary
SatisfactoryCoverage The satisfactory coverage percentage for display in the reports.
ShowExcluded Determines whether to include the coverage exclusions in the report. The default is true.
Sort The sorting if any to apply (use numeric value or string name). 0 / Name, 1 / ClassLine, 2 / CoveragePercentageAscending, 3 / CoveragePercentageDescending, 4 / UnvisitedSequencePointsAscending, 5 / UnvisitedSequencePointsDescending, 6 / VisitCountAscending, 7 / VisitCountDescending, 8 / FunctionCoverageAscending, 9 / FunctionCoverageDescending
XmlReportName The filename for generating an xml report.

See Also

NCoverExplorer Class | NCoverExplorer.MSBuildTasks Namespace