reqnroll / Reqnroll

Open-source Cucumber-style BDD test automation framework for .NET.
https://reqnroll.net
BSD 3-Clause "New" or "Revised" License
356 stars 38 forks source link

VisualStudio2022 Plugin not working #260

Closed alahane-techtel closed 2 days ago

alahane-techtel commented 2 weeks ago

Reqnroll Version

v2.1.0

Which test runner are you using?

xUnit

Test Runner Version Number

2.6.6

.NET Implementation

.NET 8.0

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

{ "$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",

"bindingAssemblies": [
]

}

Issue Description

Was just trying Reqnroll for the first time. Using latest of all as of today. However, after doing all the steps as per the instructions, the context menus are not working. I cannot navigate to step defs either. The options menu also doesn't show any Reqnroll options.

However, I'll like to emphasise that the tests run fine.


image

image

image

image

Steps to Reproduce

use latest VisualStudio 2022.

Install the plugin by following: https://docs.reqnroll.net/latest/installation/setup-ide.html#setup-vs

After doing this, I was not able to see the project template for Reqnroll. Then I installed the project templates using this:

dotnet new install Reqnroll.Templates.DotNet

Then templates started working. But now the context menus, step def nav and options menu not working, as explained above.

However, I'll like to emphasise that the tests run fine.

Link to Repro Project

No response

UL-ChrisGlew commented 2 weeks ago

Would it be possible to raise this issue in the below repository, as it relates to the Visual Studio 2022 extension:

Reqnroll.VisualStudio

UL-ChrisGlew commented 2 weeks ago

Should now be tracking this issue here:

https://github.com/reqnroll/Reqnroll.VisualStudio/issues/37

alahane-techtel commented 2 weeks ago

thanks @UL-ChrisGlew.

gasparnagy commented 2 weeks ago

A hotfix has been published to the marketplace as v2024.4.154.

I will keep this issue open for a day so that people can find it.