SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.24k stars 754 forks source link

Specflow options missing in Visual studio 2019 #2756

Open netmajor opened 2 months ago

netmajor commented 2 months ago

SpecFlow Version

2.4.1

Which test runner are you using?

MSTest

Test Runner Version Number

xxx

.NET Implementation

equal or greater .NET Framework 4.6.1

Project Format of the SpecFlow project

Classic project format using packages.config

.feature.cs files are generated using

SpecFlowSingleFileGenerator custom tool

Test Execution Method

Command line – PLEASE SPECIFY THE FULL COMMAND LINE

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

No response

Issue Description

I am install Specflow extension for Visual Studio 2019, but there is no Specflow options in Tools -> Options. I also have problem with specflow, because feature files are not colorized. When I use RMB on that file I get: Cannot find custom tool 'SpecFlowSingleFileGenerator' on this system image image

Steps to Reproduce

Install Specflow for vs 2019

Link to Repro Project

No response

DeLaphante commented 1 month ago

@netmajor Use the latest .net 8 target and use VS 2022 - Specflow is working perfectly fine for me here in my repo https://github.com/DeLaphante/CynkyAutomation

vfekete commented 1 week ago

I have exactly same issues in VS2022, SpecFlow for Visual Studio 2022, version 2022.1.91.26832. Edit: @DeLaphante I checked my project, it does target latest .net 8.

DeLaphante commented 1 week ago

@vfekete - have you tried installing the specflow extension fix from here? -> https://github.com/SpecFlowOSS/SpecFlow.VS/releases/download/v2022.1.93-net8/SpecFlow.VisualStudio.Package.2022.1.93.vsix

vfekete commented 1 week ago

@vfekete - have you tried installing the specflow extension fix from here? -> https://github.com/SpecFlowOSS/SpecFlow.VS/releases/download/v2022.1.93-net8/SpecFlow.VisualStudio.Package.2022.1.93.vsix

Thanks! That fixed everything.