-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcoverlet.runsettings
More file actions
39 lines (39 loc) · 2.6 KB
/
coverlet.runsettings
File metadata and controls
39 lines (39 loc) · 2.6 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
<?xml version="1.0" encoding="utf-8" ?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat Code Coverage">
<Configuration>
<Format>opencover</Format>
<!--
Assembly exclusions. Tightened to drop instrumentation for anything not meaningfully
covered by this test project, because Coverlet's per-shard finalization scales with
the size of the instrumented surface and was adding ~14 minutes to every shard.
-->
<Exclude>[*Tests*]*,[*Benchmark*]*,[xunit.*]*,[AiDotNet.Generators]*,[AiDotNet.ProgramSynthesis.Tooling]*,[AiDotNet.Playground*]*,[AiDotNet.Dashboard]*</Exclude>
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
<!--
File exclusions mirror sonar.coverage.exclusions in sonarcloud.yml — Sonar discards
these anyway, so there is no point instrumenting or serializing them.
-->
<!--
Do NOT add a broad **/Interfaces/**/*.cs exclusion here: several files under
src/Interfaces are not pure interfaces (e.g. SubModel.cs contains a concrete
class; IParameterizable.cs has default interface method bodies). Excluding
the whole directory would silently hide executable code from coverage.
Configuration/DTO directories with no executable code are listed explicitly.
For the AiDotNet.Serving project we use the more aggressive **/I*.cs pattern
(per master's narrower-than-the-folder convention) to catch I-prefixed
interface files anywhere under that project tree.
-->
<ExcludeByFile>**/ProgramSynthesis/Models/**/*.cs,**/ProgramSynthesis/Execution/**/*.cs,**/ProgramSynthesis/Requests/**/*.cs,**/ProgramSynthesis/Results/**/*.cs,**/ProgramSynthesis/Interfaces/**/*.cs,**/ProgramSynthesis/Enums/**/*.cs,**/AiDotNet.Serving/Configuration/**/*.cs,**/AiDotNet.Serving/Models/**/*.cs,**/AiDotNet.Serving/Persistence/Entities/**/*.cs,**/AiDotNet.Serving/Persistence/Migrations/**/*.cs,**/AiDotNet.Serving/**/I*.cs</ExcludeByFile>
<!-- SingleHit: record only whether each line was hit, not the hit count. Smaller XML, faster write. -->
<SingleHit>true</SingleHit>
<!-- SkipAutoProps: don't instrument trivial compiler-generated property accessors. -->
<SkipAutoProps>true</SkipAutoProps>
<IncludeTestAssembly>false</IncludeTestAssembly>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>