1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22
33<!-- Customised run settings file to exclude test assemblies from coverage.
44 See https://msdn.microsoft.com/en-us/library/jj159530.aspx for more info. -->
55
6- <!-- File name extension must be .runsettings -->
7- <RunSettings >
8- <DataCollectionRunSettings >
9- <DataCollectors >
10- <DataCollector friendlyName =" Code Coverage" uri =" datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName =" Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" >
11- <Configuration >
12- <CodeCoverage >
13-
14- <!--
6+ <!-- File name extension must be .runsettings -->
7+ <RunSettings >
8+ <DataCollectionRunSettings >
9+ <DataCollectors >
10+ <DataCollector friendlyName =" Code Coverage" uri =" datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName =" Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" >
11+ <Configuration >
12+ <CodeCoverage >
13+
14+ <!--
1515About include/exclude lists:
1616Empty "Include" clauses imply all; empty "Exclude" clauses imply none.
1717Each element in the list is a regular expression (ECMAScript syntax). See http://msdn.microsoft.com/library/2k3te2cs.aspx.
1818An item must first match at least one entry in the include list to be included.
1919Included items must then not match any entries in the exclude list to remain included.
20- -->
21-
22- <!-- Match assembly file paths: -->
23- <ModulePaths >
24- <Include >
25- <ModulePath >.*\microsoft.identitymodel.clients.activedirectory.dll$</ModulePath >
26- <ModulePath >.*\microsoft.identity.core.dll$</ModulePath >
27- <ModulePath >.*\microsoft.identity.client.dll$</ModulePath >
28-
29- </Include >
30- <Exclude >
31- </Exclude >
32- </ModulePaths >
33-
34- </CodeCoverage >
35- </Configuration >
36- </DataCollector >
37- </DataCollectors >
38- </DataCollectionRunSettings >
39- </RunSettings >
40-
20+ -->
21+ <ModulePaths >
22+ <Include >
23+ <ModulePath >.*\microsoft.identity.client.dll$</ModulePath >
24+ </Include >
25+ <Exclude ><!-- Exclude all test-related files -->
26+ <ModulePath >.*\\test\\.*</ModulePath >
27+ <ModulePath >.*Test\.dll</ModulePath >
28+ <ModulePath >.*Test\.exe</ModulePath >
29+ </Exclude >
30+ </ModulePaths >
31+ <Sources >
32+ <Exclude ><!-- Exclude generated or non-essential source files -->
33+ <Source >.*\\devapps\\.*</Source >
34+ <Source >.*\\CacheCompat\\.*</Source >
35+ <Source >.*\\obj\\.*</Source >
36+ <Source >.*\\json\\.*</Source >
37+ <Source >.*\\android\\.*</Source >
38+ <Source >.*\\ios\\.*</Source >
39+ </Exclude >
40+ </Sources >
41+ </CodeCoverage >
42+ </Configuration >
43+ </DataCollector >
44+ </DataCollectors >
45+ </DataCollectionRunSettings >
46+ </RunSettings >
0 commit comments