reqnroll / Reqnroll.VisualStudio

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

Feature files become pink again when reopening the code, and does not tie to the step definition file #15

Closed teckjbaggett closed 6 months ago

teckjbaggett commented 6 months ago

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

Content of reqnroll.json (if present)

No response

Issue Description

When I reopen a solution with reqroll feature files, it loses the association to the step definition files, over and over. I have created a solution with 4 automated test projects of different types of tests, and this is occurring

Steps to Reproduce

  1. Add multiple Reqroll test projects with different names, generate a step definition file using the same BDD use case scenario names with the given when then statements
  2. generate out step definition files for each project for the same feature name/acceptance criteria
  3. The associations of step definitions files to the feature files are lost

Link to a project repository that reproduces the issue

No response

clrudolphi commented 6 months ago

To clarify, are you saying that the scenario names and steps are duplicated across multiple projects?

gasparnagy commented 6 months ago

@teckjbaggett could you please include a screenshot that shows the problem?

gasparnagy commented 6 months ago

Closing this as unable to reproduce now. @teckjbaggett if you can provide further details, please reopen the issue.