ttutisani/Xunit.Gherkin.Quick

Test explorer shows Scenario and ScenarioOutline methods if no matches

ttutisani opened this issue · 1 comments

This started happening with visual studio 2019 I guess because I have not seen it before.

If I have a feature that has no scenario or scenario outline, then I can see the base Feature class respective method in the test explorer. It is grayed out and does not execute, but it's still not good user experience. For example, this is what I see for the feature without outlines in the feature file:

image

I should not be seeing ScenarioOutline method ideally.

Strangely, this issue happens when I directly reference the Xunit.Gherkin.Quick library from the consumer project. If I reference it through nuget, then this issue is gone. Still, need to investigate.