ttutisani/Xunit.Gherkin.Quick

Exception during discovery

dcarr42 opened this issue · 0 comments

This discovery failure appeared today at some point not sure if this is related to an environment change.

Features still run, it would be nice to suppress this or make the error more expressive

Exception during discovery: System.ArgumentNullException: Value cannot be null. (Parameter 'feature') at Xunit.Gherkin.Quick.FeatureFilePathInfo.FeatureAndPath..ctor(String path, Feature feature) at Xunit.Gherkin.Quick.SimpleFeatureFilePathInfo.GetMatchingFeatures(IFeatureFileRepository featureFileRepository) at Xunit.Gherkin.Quick.FeatureDiscoveryModel.Discover(Type featureClassType) at Xunit.Gherkin.Quick.ScenarioDiscoverer.Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)+MoveNext() at Xunit.Sdk.XunitTestFrameworkDiscoverer.FindTestsForMethod(ITestMethod testMethod, Boolean includeSourceInformation, IMessageBus messageBus, ITestFrameworkDiscoveryOptions discoveryOptions) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\XunitTestFrameworkDiscoverer.cs:line 119 at Xunit.Sdk.XunitTestFrameworkDiscoverer.FindTestsForType(ITestClass testClass, Boolean includeSourceInformation, IMessageBus messageBus, ITestFrameworkDiscoveryOptions discoveryOptions) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\XunitTestFrameworkDiscoverer.cs:line 132 at Xunit.Sdk.TestFrameworkDiscoverer.FindTestsForTypeAndWrapExceptions(ITestClass testClass, Boolean includeSourceInformation, IMessageBus messageBus, ITestFrameworkDiscoveryOptions discoveryOptions) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestFrameworkDiscoverer.cs:line 156