Skip to content

Commit

Permalink
Handle "Xunit.SkipException" in tests discoverer (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide authored Jan 23, 2025
1 parent 9634fb0 commit 082ba9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/NRedisStack.Tests/SkippableTheoryDiscoverer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public SkippableTheoryDiscoverer(IMessageSink diagnosticMessageSink)
public virtual IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
{
Requires.NotNull(factAttribute, nameof(factAttribute));
string[] skippingExceptionNames = new[] { "Xunit.SkippableFact.SkipException" };
string[] skippingExceptionNames = new[] { "Xunit.SkippableFact.SkipException", "Xunit.SkipException" };
TestMethodDisplay defaultMethodDisplay = discoveryOptions.MethodDisplayOrDefault();

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

0 comments on commit 082ba9d

Please sign in to comment.