ttutisani / Xunit.Gherkin.Quick

BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)
MIT License
205 stars 29 forks source link

Single feature class handling multiple feature files #64

Closed ttutisani closed 2 years ago

ttutisani commented 6 years ago

This can be convenient when splitting various scenarios into separate feature files. In practice, need to split scenarios between different files comes when they have different backgrounds. Since there can only be one background per feature file, split will be necessary. After splitting, same feature class cannot handle both feature files. If the feature class could support multiple feature file attributes, then this limitation would be removed.

e.g. currently in the test solution there are 2 feature classes: AddTwoNumbers, and AddNumbersTo5. These 2 feature classes could be consolidated into 1 if the above limitation is resolved.

ttutisani commented 6 years ago

The PR mentioned above was referencing this issue by mistake. Disregard that information.

ttutisani commented 2 years ago

Nuget released. This issue can be closed. Please report problems via new tickets.