Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during discovery #141

Open
dcarr42 opened this issue Jan 10, 2023 · 0 comments
Open

Exception during discovery #141

dcarr42 opened this issue Jan 10, 2023 · 0 comments

Comments

@dcarr42
Copy link

dcarr42 commented Jan 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant