Skip to content

Commit 0eb9b5d

Browse files
committed
exclude test runs on linux and mac
1 parent 635984d commit 0eb9b5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/coverlet.integration.tests/WpfResolverTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Coverlet.Core.Abstractions;
88
using Coverlet.Core.Instrumentation;
99
using Coverlet.Integration.Tests;
10+
using Coverlet.Tests.Xunit.Extensions;
1011
using Microsoft.Extensions.DependencyModel;
1112
using Moq;
1213
using Xunit;
@@ -15,7 +16,9 @@ namespace coverlet.integration.tests
1516
{
1617
public class WpfResolverTests : BaseTest
1718
{
18-
[Fact]
19+
[ConditionalFact]
20+
[SkipOnOS(OS.Linux, "Windows path format only")]
21+
[SkipOnOS(OS.MacOS, "Windows path format only")]
1922
public void TestInstrument_NetCoreSharedFrameworkResolver()
2023
{
2124
string wpfProjectPath = "../../../../coverlet.tests.projectsample.wpf";

0 commit comments

Comments
 (0)