ttutisani/Xunit.Gherkin.Quick

Default feature file location in the subfolder by namespace

ttutisani opened this issue · 1 comments

By default, when the [FeatureFile] attribute is missing, the framework finds the feature file in the base folder. By looking at the class namespace, it could also check the subfolder, assuming that the class namespace follows the folder structure.

There is also a chance that this will cause confusion because not everybody follows the namespace-by-folder convention. Maybe I need to make the [FeatureFile] attribute required instead? So that way it always specifies where exactly the file is. Needs further thought/discussion.