-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcoverage.runsettings
More file actions
43 lines (37 loc) · 1.83 KB
/
Copy pathcoverage.runsettings
File metadata and controls
43 lines (37 loc) · 1.83 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
<?xml version="1.0" encoding="utf-8"?>
<!--
Coverage settings for CI.
Used by the CI XPlat Code Coverage data-collector invocation.
Targets the host-independent Core, Application, Infrastructure, and shared UI
assemblies. Excludes host entry points, generated files, and Razor UI.
-->
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat Code Coverage">
<Configuration>
<!-- Emit Cobertura XML so Codecov can parse it -->
<Format>cobertura</Format>
<!-- Measure production logic, not host or test assemblies. -->
<Include>[MakerPrompt.Core]*,[MakerPrompt.Application]*,[MakerPrompt.Infrastructure*]*,[MakerPrompt.UI.Components]*</Include>
<!-- Exclude UI namespaces — pages, layout, and components are covered by E2E -->
<Exclude>[MakerPrompt.UI.Components]MakerPrompt.UI.Components.Pages.*,[MakerPrompt.UI.Components]MakerPrompt.UI.Components.Layout.*,[MakerPrompt.UI.Components]MakerPrompt.UI.Components.Components.*,[MakerPrompt.UI.Components]MakerPrompt.UI.Components.BrailleRAP.*</Exclude>
<!-- Exclude generated and infrastructure-only files -->
<ExcludeByFile>
**/Program.cs,
**/*.Designer.cs,
**/*.g.cs,
**/*.g.i.cs,
**/*.razor.g.cs
</ExcludeByFile>
<!-- Exclude DTO / data-bag classes by attribute -->
<ExcludeByAttribute>GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
<SingleHit>false</SingleHit>
<UseSourceLink>true</UseSourceLink>
<IncludeTestAssembly>false</IncludeTestAssembly>
<DeterministicReport>true</DeterministicReport>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>