1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- File name extension must be .runsettings -->
3+ <RunSettings >
4+ <DataCollectionRunSettings >
5+ <DataCollectors >
6+ <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" >
7+ <Configuration >
8+ <CodeCoverage >
9+ <!--
10+ Additional paths to search for .pdb (symbol) files. Symbols must be found for modules to be instrumented.
11+ If .pdb files are in the same folder as the .dll or .exe files, they are automatically found. Otherwise, specify them here.
12+ Note that searching for symbols increases code coverage runtime. So keep this small and local.
13+ -->
14+ <!--
15+ <SymbolSearchPaths>
16+ <Path>C:\Users\User\Documents\Visual Studio 2012\Projects\ProjectX\bin\Debug</Path>
17+ <Path>\\mybuildshare\builds\ProjectX</Path>
18+ </SymbolSearchPaths>
19+ -->
20+
21+ <!--
22+ About include/exclude lists:
23+ Empty "Include" clauses imply all; empty "Exclude" clauses imply none.
24+ Each element in the list is a regular expression (ECMAScript syntax). See http://msdn.microsoft.com/library/2k3te2cs.aspx.
25+ An item must first match at least one entry in the include list to be included.
26+ Included items must then not match any entries in the exclude list to remain included.
27+ -->
28+
29+ <!-- Match assembly file paths: -->
30+ <ModulePaths >
31+ <Include >
32+ <ModulePath >.*\.dll$</ModulePath >
33+ <ModulePath >.*\.exe$</ModulePath >
34+ </Include >
35+ <Exclude >
36+ <ModulePath >.*CPPUnitTestFramework.*</ModulePath >
37+ </Exclude >
38+ </ModulePaths >
39+
40+ <!-- Match fully qualified names of functions: -->
41+ <!-- (Use "\." to delimit namespaces in C# or Visual Basic, "::" in C++.) -->
42+ <Functions >
43+ <Exclude >
44+ <Function >^Fabrikam\.UnitTest\..*</Function >
45+ <Function >^std::.*</Function >
46+ <Function >^ATL::.*</Function >
47+ <Function >.*::__GetTestMethodInfo.*</Function >
48+ <Function >^Microsoft::VisualStudio::CppCodeCoverageFramework::.*</Function >
49+ <Function >^Microsoft::VisualStudio::CppUnitTestFramework::.*</Function >
50+ </Exclude >
51+ </Functions >
52+
53+ <!-- Match attributes on any code element: -->
54+ <Attributes >
55+ <Exclude >
56+ <Attribute >^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute >
57+ <Attribute >^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute >
58+ <Attribute >^System\.Runtime\.CompilerServices.CompilerGeneratedAttribute$</Attribute >
59+ <Attribute >^System\.CodeDom\.Compiler.GeneratedCodeAttribute$</Attribute >
60+ <Attribute >^System\.Diagnostics\.CodeAnalysis.ExcludeFromCodeCoverageAttribute$</Attribute >
61+ </Exclude >
62+ </Attributes >
63+
64+ <!-- Match the path of the source files in which each method is defined: -->
65+ <Sources >
66+ <Exclude >
67+ <Source >.*\\atlmfc\\.*</Source >
68+ <Source >.*\\vctools\\.*</Source >
69+ <Source >.*\\public\\sdk\\.*</Source >
70+ <Source >.*\\microsoft sdks\\.*</Source >
71+ <Source >.*\\vc\\include\\.*</Source >
72+ </Exclude >
73+ </Sources >
74+
75+ <!-- Match the company name property in the assembly: -->
76+ <CompanyNames >
77+ <Exclude >
78+ <CompanyName >.*microsoft.*</CompanyName >
79+ </Exclude >
80+ </CompanyNames >
81+
82+ <!-- Match the public key token of a signed assembly: -->
83+ <PublicKeyTokens >
84+ <!-- Exclude Visual Studio extensions: -->
85+ <Exclude >
86+ <PublicKeyToken >^B77A5C561934E089$</PublicKeyToken >
87+ <PublicKeyToken >^B03F5F7F11D50A3A$</PublicKeyToken >
88+ <PublicKeyToken >^31BF3856AD364E35$</PublicKeyToken >
89+ <PublicKeyToken >^89845DCD8080CC91$</PublicKeyToken >
90+ <PublicKeyToken >^71E9BCE111E9429C$</PublicKeyToken >
91+ <PublicKeyToken >^8F50407C4E9E73B6$</PublicKeyToken >
92+ <PublicKeyToken >^E361AF139669C375$</PublicKeyToken >
93+ </Exclude >
94+ </PublicKeyTokens >
95+
96+ <!-- We recommend you do not change the following values: -->
97+ <UseVerifiableInstrumentation >True</UseVerifiableInstrumentation >
98+ <AllowLowIntegrityProcesses >True</AllowLowIntegrityProcesses >
99+ <CollectFromChildProcesses >True</CollectFromChildProcesses >
100+ <CollectAspDotNet >False</CollectAspDotNet >
101+
102+ </CodeCoverage >
103+ </Configuration >
104+ </DataCollector >
105+ </DataCollectors >
106+ </DataCollectionRunSettings >
107+ </RunSettings >
108+
0 commit comments