SpecFlow.VS icon indicating copy to clipboard operation
SpecFlow.VS copied to clipboard

.runsettings not loading in VS 2022

Open lalberto8085 opened this issue 3 years ago • 1 comments

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

SpecFlow Section in app.config or content of specflow.json

No response

Issue Description

I have been using Specflow with VS 2019 for the past year or so and part of it was using a .runsettings file to load secrets to the tests.

Recently I installed VS 2022, then updated all extensions and Nuget packages for the project.

When I run the tests I can see the .runsettings file contents are not loaded.

Steps to Reproduce

1- Have a working Specflow project, running set up with MSTest that loads .runsettings using VS 2019 2- Open that project in VS 2022 3- Run any test and check the TestContext to see the .runsettings not being loaded

Link to Repository Project

No response

lalberto8085 avatar May 11 '22 15:05 lalberto8085

Please create a project where we can repro this behavior. I have no idea how the extension could influence the loading of the runsettings file.

SabotageAndi avatar May 12 '22 08:05 SabotageAndi