I'm working with a project and I'm planning to use Specflow and Selenium C#. I'm new with using Specflow (SpecFlow is the open source port of Cucumber for .NET) for automation and I'm going to use it for regression testing of an existing website. I'm just curious if a single feature file should cover all the regression test cases or would it be better to create a feature per tab?
I'm just concern with code duplication as creating a featue per tab would share the same background of "Given that I'm on the web page".
Our current manual test steps look like this:
Patient Info Tab
- Edit Patient Info
- Update Contact Preferences
Physician Verification Tab
- Physician Search
- Edit Physician Info