Skip to content

Commit 082ba9d

Browse files
authored
Handle "Xunit.SkipException" in tests discoverer (#383)
1 parent 9634fb0 commit 082ba9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/NRedisStack.Tests/SkippableTheoryDiscoverer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public SkippableTheoryDiscoverer(IMessageSink diagnosticMessageSink)
4242
public virtual IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
4343
{
4444
Requires.NotNull(factAttribute, nameof(factAttribute));
45-
string[] skippingExceptionNames = new[] { "Xunit.SkippableFact.SkipException" };
45+
string[] skippingExceptionNames = new[] { "Xunit.SkippableFact.SkipException", "Xunit.SkipException" };
4646
TestMethodDisplay defaultMethodDisplay = discoveryOptions.MethodDisplayOrDefault();
4747

4848
IEnumerable<IXunitTestCase>? basis = this.theoryDiscoverer.Discover(discoveryOptions, testMethod, factAttribute);

0 commit comments

Comments
 (0)