-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcoverage.runsettings
More file actions
33 lines (31 loc) · 1.24 KB
/
Copy pathcoverage.runsettings
File metadata and controls
33 lines (31 loc) · 1.24 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
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<!--
Code coverage settings for Microsoft.Testing.Platform. See the Test step in
.github/workflows/build-and-test.yml for how this file is passed to the runner.
The path handed to the runner must be absolute: each test app runs with its own
output directory as the working directory, so a relative path does not resolve.
-->
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="Code Coverage">
<Configuration>
<CodeCoverage>
<Sources>
<Exclude>
<!--
Source generated files (System.Text.Json contexts, the OpenAPI XML
comment support, ...) live under obj/. Without this exclusion they
dominate the line counts of the assemblies that use them and drag
total coverage down from 95% to 81%.
Source paths are matched as regular expressions, not globs.
-->
<Source>.*[\\/]obj[\\/].*</Source>
</Exclude>
</Sources>
</CodeCoverage>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>