reqnroll / Reqnroll.VisualStudio

Visual Studio extension for Reqnroll - open-source .NET BDD framework
https://reqnroll.net
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Fix for GH#6 - Create Step Definitions generates Reqnroll using State… #13

Closed clrudolphi closed 4 months ago

clrudolphi commented 4 months ago

…ments for SpecFlow projects Fixes Reqnroll.VisualStudio issue #6

Modified DefineStepsCommand.SaveAsStepDefinitionClass() to look for projectTraits.LegacySpecFlow or .SpecFlowCompatibility; if found use the SpecFlow namespace in the using statement.

I'm not quite sure how tests would be extended to cover this (or if it is even worth doing so).

Checklist:

gasparnagy commented 4 months ago

@clrudolphi I have added you to the Reqnroll core-team group. This means that you can create PRs from branches of the main repo, without using and synchronizing your own fork. That model is anyway more convenient, because others can add extra commits to your PRs if you need that kind of help.