-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoverlet.runsettings
More file actions
47 lines (42 loc) · 2.58 KB
/
coverlet.runsettings
File metadata and controls
47 lines (42 loc) · 2.58 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
<?xml version="1.0" encoding="utf-8" ?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat Code Coverage">
<Configuration>
<!-- Output formats -->
<Format>cobertura,json,lcov</Format>
<!-- Include patterns: what to measure coverage for.
[Flowthru*]* covers Flowthru, Flowthru.Core, Flowthru.Extensions.*,
Flowthru.FUnit, Flowthru.Misc.*. -->
<Include>[Flowthru*]*</Include>
<!-- Exclude patterns: comma-separated.
IMPORTANT: Coverlet's collector parses these by splitting on commas only
(CoverletSettingsParser.SplitElement). Multi-line values are read as one
mangled string, fail filter validation, and silently drop ALL excludes.
Each pattern is one comma-separated entry on a single line — keep it that way.
- [*.Tests]* / [*.Tests.*]* drop test projects and helper test infrastructure.
- [FlowthruCoverage]* drops this analysis pipeline assembly; it matches
[Flowthru*]* but is an example project, not a production package.
- [Flowthru.Misc.ML]* drops the deprecated UMAP package; it has no test
project and no examples drive it. -->
<Exclude>[*.Tests]*,[*.Tests.*]*,[FlowthruCoverage]*,[Flowthru.Misc.ML]*,[xunit.*]*,[NUnit.*]*,[Microsoft.*]*,[System.*]*</Exclude>
<!-- Attributes that mark code as out-of-scope. Comma-separated for the same
parser reason as <Exclude> above. -->
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute,ExcludeFromCodeCoverageAttribute</ExcludeByAttribute>
<!-- File patterns to skip — generated code, build outputs, designer files,
and test-shaped code under src/ (compilation harnesses like
src/extensions/Flowthru.Extensions.EFCore/Tests/CompilationTest.cs).
Comma-separated for the same parser reason as <Exclude> above. -->
<ExcludeByFile>**/Migrations/**/*.cs,**/obj/**/*.cs,**/bin/**/*.cs,**/*Designer.cs,**/*.g.cs,**/*.g.i.cs,**/src/**/Tests/**/*.cs</ExcludeByFile>
<!-- Coverage options -->
<SingleHit>false</SingleHit>
<UseSourceLink>true</UseSourceLink>
<IncludeTestAssembly>false</IncludeTestAssembly>
<SkipAutoProps>true</SkipAutoProps>
<DeterministicReport>false</DeterministicReport>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>