main
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Example configuration file to be passed to NCoverExplorer-Console.exe using /config: switch -->
3<!-- If not supplied, then the same defaults will be used as the NCoverExplorer GUI. -->
4<ConsoleSetting xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <!-- Name attribute is title to appear on the report (equivalent to /project:xx). Default is blank. -->
6 <ProjectName>Example.Project</ProjectName>
7
8 <!-- Names of the coverage files to merge/report on. Wildcards can be used. -->
9 <CoverageFileNames>
10 <CoverageFileName>*.Coverage.xml</CoverageFileName>
11 </CoverageFileNames>
12
13 <!-- Report to be generated by running NCoverExplorer.Console. Default is "None". Other possible values are:
14 "ModuleSummary", "ModuleNamespaceSummary",
15 "ModuleClassSummary", "ModuleClassFunctionSummary"
16 -->
17 <ReportType>ModuleClassSummary</ReportType>
18 <!-- Filename for the output html report if wanting to generate one. -->
19 <HtmlReportFileName>C:\MyCoverageReport.html</HtmlReportFileName>
20 <!-- Filename for the output xml report (for use by cc.net) if wanting to generate one. -->
21 <XmlReportFileName>C:\MyCoverageReport.xml</XmlReportFileName>
22
23 <!-- File name for the output merged coverage.xml file if any resulting from merging the inputs. -->
24 <!--<MergeFileName>C:\MyCoverageMerged.xml</MergeFileName>-->
25
26 <!-- Whether to show the excluded elements in the footer of the output report if being generated. Default is false. -->
27 <!--<ShowExcludedFooter>True</ShowExcludedFooter>-->
28
29 <!-- Whether to suppress virtually all console output when running. Default is false. -->
30 <!--<NoLog>True</NoLog>-->
31
32 <!-- Threshold for acceptance criteria for coverage reports detailing acceptable coverage levels. Default is 95% -->
33 <!--<SatisfactoryCoverageThreshold>95</SatisfactoryCoverageThreshold>-->
34
35 <!-- Threshold for acceptance criteria for coverage reports detailing acceptable coverage as #seqPts rather than %. Default is 0. -->
36 <!--<SatisfactoryUnvisitedSequencePoints>2</SatisfactoryUnvisitedSequencePoints> -->
37
38 <!-- Threshold for acceptance criteria for coverage reports detailing acceptable function coverage levels. Default is 80% -->
39 <!--<SatisfactoryFunctionThreshold>80</SatisfactoryFunctionThreshold> -->
40
41 <!-- Threshold for acceptance criteria for coverage reports detailing acceptable function coverage levels. Default is 80% -->
42 <!--<SatisfactoryFunctionThreshold>80</SatisfactoryFunctionThreshold> -->
43
44 <!-- Filtering to be applied to the results. Use integer or named value. Default is "None". Possible values:
45 "None" (0),
46 "HideUnvisited" (1),
47 "HideFullyCovered" (2),
48 "HideThresholdCovered" (3)
49 -->
50 <TreeFilterStyle>None</TreeFilterStyle>
51
52 <!-- Sorting to be applied to the results. Use integer or named value. Default is "Name". Possible values:
53 "Name" (0),
54 "ClassLine" (1),
55 "CoveragePercentageAscending" (2), "CoveragePercentageDescending" (3),
56 "UnvisitedSequencePointsAscending" (4), "UnvisitedSequencePointsDescending" (5),
57 "VisitCountAscending" (6), "VisitCountDescending" (7)
58 "FunctionCoverageAscending" (8), "FunctionCoverageDescending" (9),
59 -->
60 <TreeSortStyle>Name</TreeSortStyle>
61
62 <!-- Coverage exclusions to exclude specified assemblies, namespaces and/or classes. -->
63 <CoverageExclusions>
64 <CoverageExclusion>
65 <ExclusionType>Assembly</ExclusionType>
66 <!-- Valid values are [Assembly], [Namespace] and [Class]. -->
67 <Pattern>*.Tests</Pattern>
68 <IsRegex>false</IsRegex>
69 <!-- Only required with a value of "true" if you do have a regular expression based pattern -->
70 </CoverageExclusion>
71 <CoverageExclusion>
72 <ExclusionType>Namespace</ExclusionType>
73 <Pattern>*.My*</Pattern>
74 </CoverageExclusion>
75 </CoverageExclusions>
76
77 <!-- Module specific coverage thresholds if any, -->
78 <!--<ModuleThresholds>
79 <ModuleThreshold ModuleName="NCoverExplorer.Core.dll" SatisfactoryCoverage="30" />
80 </ModuleThresholds>-->
81
82 <!-- Whether to return a failure exit code if any module is below the minimum coverage threshold. Default is false. -->
83 <!--<FailIfBelowMinimum>True</FailIfBelowMinimum> -->
84
85 <!-- Whether to return a failure exit code if total coverage is below the minimum coverage threshold. Default is false. -->
86 <!--<FailIfBelowCombinedMinimum>True</FailIfBelowCombinedMinimum> -->
87
88 <!-- For use with the FailIfXXX options - the minimum coverage threshold if not specifying at the module level. -->
89 <!--<MinimumCoverage>True</MinimumCoverage> -->
90
91 <!-- Whether to suppress virtually all console output when running. Default is false. -->
92 <!--<NoLog>True</NoLog> -->
93
94</ConsoleSetting>