-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find step definitions context menu option doesnt work if ReqNRoll is in a global using file #415
Comments
I can't recreate this. Which version of the Reqnroll for VisualStudio 2022 extension do you have installed? (Extensions/Manage Extensions). The latest is v 2024.8.234 You mention adding Has the project been built? (Most of the features of the Reqnroll VisualStudio extension won't work without first building the solution). |
Hi Reqnroll for VisualStudio 2022 extension is latest version -2024.8.234 Manually added to a custom usings file - GlobalUsings.cs as this is not a new project, we are porting over from SpecFlow. Yes project has been built |
Please check your project's csproj file. Does it have a It should look something like the below. If it is missing, try adding it.
|
Here is my csproj file
|
Reqnroll Version
2.2.1
Which test runner are you using?
NUnit
Test Runner Version Number
2.2.1
.NET Implementation
.NET 6.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
No response
Issue Description
Find step definitions context menu option doesnt work if ReqNRoll is in a global using file
Steps to Reproduce
Reqnroll added to global using file
global using Reqnroll;
global using Reqnroll.BoDi;
On step definition class, if user right clicks on a step method, there is no option to Find step definitions
Only if you add a using statement to step class will option appear
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: