Skip to content

Commit 8679461

Browse files
committed
Add run settings for code coverage.
1 parent bf7024e commit 8679461

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

build/Coverage.runsettings

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<RunSettings>
3+
<DataCollectionRunSettings>
4+
<DataCollectors>
5+
<DataCollector friendlyName="XPlat Code Coverage">
6+
<Configuration>
7+
<Format>json,cobertura,lcov</Format>
8+
<Exclude>[System.*]*</Exclude>
9+
<ExcludeByFile>**/LoggerMessage.g.cs</ExcludeByFile>
10+
<ExcludeByAttribute>GeneratedCodeAttribute</ExcludeByAttribute>
11+
<UseSourceLink>false</UseSourceLink>
12+
<SkipAutoProps>true</SkipAutoProps>
13+
<DeterministicReport>false</DeterministicReport>
14+
</Configuration>
15+
</DataCollector>
16+
</DataCollectors>
17+
</DataCollectionRunSettings>
18+
</RunSettings>

0 commit comments

Comments
 (0)