NCoverExplorer.MSBuildTasks

NCoverExplorer Members

NCoverExplorer overview

Public Instance Constructors

NCoverExplorer Constructor Initializes a new instance of the NCoverExplorer class.

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 series of <Exclusion> nodes. See the examples for both formats. If you want to use regular expressions then you must use the <PropertyGroup> approach.
FailMinimum Whether to fail the task if the satisfactory coverage threshold is not reached. 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.
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, 2 / NamespaceSummary, 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.

Public Instance Methods

Execute Executes the task.

See Also

NCoverExplorer Class | NCoverExplorer.MSBuildTasks Namespace