-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeCoverage.runsettings
More file actions
76 lines (76 loc) · 3.36 KB
/
CodeCoverage.runsettings
File metadata and controls
76 lines (76 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.CodeCoverage.CodeCoverageCollector, Microsoft.CodeCoverage">
<Configuration>
<CodeCoverage>
<ModulePaths>
<Include>
<ModulePath>.*\.dll$</ModulePath>
<ModulePath>.*\.exe$</ModulePath>
</Include>
<Exclude>
<ModulePath>.*CPPUnitTestFramework.*</ModulePath>
<ModulePath>.*\.Tests\.dll$</ModulePath>
<ModulePath>.*Dapper\.dll$</ModulePath>
<ModulePath>.*FluentValidation\.dll$</ModulePath>
<ModulePath>.*Moq\.dll$</ModulePath>
<ModulePath>.*xunit.v3.mtp-v1\.dll$</ModulePath>
<ModulePath>.*xunit.v3.core\.dll$</ModulePath>
<ModulePath>.*xunit.v3.common\.dll$</ModulePath>
<ModulePath>.*xunit.v3.runner.inproc.console\.dll$</ModulePath>
<ModulePath>.*xunit.v3.runner.common\.dll$</ModulePath>
<ModulePath>.*xunit.v3.assert\.dll$</ModulePath>
</Exclude>
</ModulePaths>
<Functions>
<Exclude>
<!-- Exclude methods in a classes or namespaces: -->
<Function>^Microsoft.AspNetCore.OpenApi\..*</Function>
<Function>^Microsoft.AspNetCore.OpenApi.Generated\..*</Function>
<Function>^System.Runtime.CompilerServices\..*</Function>
<Function>^DeviceManagement.Api.Filters\..*</Function>
<Function>^DeviceManagement.Infrastructure.Security\..*</Function>
<Function>.*Dispose\(</Function>
<Function>.*get_.*\(\)</Function>
<Function>.*set_.*\(.*\)</Function>
<Function>.*Equals\(</Function>
<Function>.*ToString\(</Function>
<Function>.*GetHashCode\(</Function>
<Function>^DeviceManagement\\.Infrastructure\\.Persistence\\.SqlServerConnectionFactory\\..*</Function>
<Function>^DeviceManagement\\.Infrastructure\\.Security\\.UserLogin\\..*</Function>
<Function>^DeviceManagement\\.Api\\.Program\\..*</Function>
</Exclude>
</Functions>
<Attributes>
<Exclude>
<Attribute>^Microsoft\.AspNetCore\.OpenApi$</Attribute>
<Attribute>^Microsoft\.AspNetCore\.OpenApi\.Generated$</Attribute>
<Attribute>^System\.Runtime\.CompilerServices$</Attribute>
<Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute>
<Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute>
<Attribute>^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$</Attribute>
<Attribute>^System\.Diagnostics\.CodeAnalysis\.ExcludeFromCodeCoverageAttribute$</Attribute>
<Attribute>^DeviceManagement\.Api\.Filters$</Attribute>
</Exclude>
</Attributes>
<Sources>
<Exclude>
<Source>.*\\Program.cs</Source>
<Source>.*\\ConfigureServices.cs</Source>
<Source>.*\\SqlServerConnectionFactory.cs</Source>
<Source>.*\\UserLogin.cs</Source>
<Source>.*\\vctools\\.*</Source>
<Source>.*\\public\\sdk\\.*</Source>
<Source>.*\\microsoft sdks\\.*</Source>
<Source>.*\\vc\\include\\.*</Source>
<Source>.*\\SwaggerUtils\\.*</Source>
</Exclude>
</Sources>
</CodeCoverage>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>