Skip to content

Commit 81c48e4

Browse files
committed
Tweak runsettings
- Show output from XUnit's ITestOutputHelper before test completion - Hide coverage for RazorPagesTestWebApp - Remove settings that match the defaults
1 parent 3366d77 commit 81c48e4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

coverlet.runsettings

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<RunSettings>
3+
<xUnit>
4+
<ShowLiveOutput>true</ShowLiveOutput>
5+
</xUnit>
36
<DataCollectionRunSettings>
47
<DataCollectors>
58
<DataCollector friendlyName="XPlat Code Coverage">
69
<Configuration>
710
<Format>opencover</Format>
8-
<Exclude>[*.Test*]*,[*]Microsoft.Diagnostics*</Exclude>
9-
<Include>[Steeltoe.*]*</Include>
10-
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
11+
<Exclude>[ConfigurationSchemaGenerator]*</Exclude>
12+
<ExcludeByFile>**/test/**/*.*</ExcludeByFile>
13+
<ExcludeByAttribute>ObsoleteAttribute,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
1114
<UseSourceLink>true</UseSourceLink>
12-
<IncludeTestAssembly>false</IncludeTestAssembly>
13-
<SkipAutoProps>false</SkipAutoProps>
1415
</Configuration>
1516
</DataCollector>
1617
</DataCollectors>

0 commit comments

Comments
 (0)