-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoverage.runsettings
More file actions
36 lines (36 loc) · 1.62 KB
/
Copy pathcoverage.runsettings
File metadata and controls
36 lines (36 loc) · 1.62 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
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat Code Coverage">
<Configuration>
<!-- Exclude protobuf/gRPC generated stubs, WPF code-behind, and non-unit-testable infrastructure -->
<ExcludeByFile>
**/obj/**/*.cs,
**/*.g.cs,
**/*.g.i.cs
</ExcludeByFile>
<ExcludeByAttribute>GeneratedCode,ExcludeFromCodeCoverage,CompilerGenerated</ExcludeByAttribute>
<Exclude>
<!-- Protobuf-generated types and gRPC stubs -->
[LibrarySystem.Contracts]*,
<!-- Auto-generated OpenApi models -->
[Microsoft.AspNetCore.OpenApi]*,
<!-- Migrations, Program and Bootstrapping -->
[LibrarySystem.Persistence]LibrarySystem.Persistence.Migrations.*,
[LibrarySystem.Persistence]LibrarySystem.Persistence.SeedData,
[LibrarySystem.Persistence]LibrarySystem.Persistence.DependencyInjection,
[LibrarySystem.Api]Program,
<!-- WPF App bootstrap, MainWindow code-behind, Behaviors, Converters -->
[LibrarySystem.Tools]LibrarySystem.Tools.App,
[LibrarySystem.Tools]LibrarySystem.Tools.MainWindow*,
[LibrarySystem.Tools]LibrarySystem.Tools.Behaviors.*,
[LibrarySystem.Tools]LibrarySystem.Tools.Converters.*
</Exclude>
<Format>cobertura</Format>
<DeterministicReport>true</DeterministicReport>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>