Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find SpecFlow Feature Files option in Add New Item window - VS20019

I am new to visual studio and specflow. I have visual studio 2019 in my machine and I have followed all steps and successfully installed specflow through manage nuget package . I cannot add a feature file from right click on proj> Add new item. I cannot see specflow . Can anyone help me on how to add feature files?

like image 895
naazneen3264 Avatar asked Sep 02 '19 06:09

naazneen3264


People also ask

How do I enable SpecFlow in Visual Studio?

To enable the extension in Visual Studio, select Tools | Extensions and Updates…, select the “SpecFlow for Visual Studio” extension, then select Enable.


2 Answers

Have you also installed the Visual Studio Extension for SpecFlow? I think that is what provides the feature file listing in Add New Item.

To install go to Tools > Extensions and Updates > Online then search for Specflow:

enter image description here

Note in my screenshot it is already installed but there should be a download button when you hightlight specflow in the list like e.g.

enter image description here

Once you've clicked Download and marked it for install close Visual Studio, let it install, and then try again - you should then see the templates.

like image 156
MDBarbier Avatar answered Sep 18 '22 17:09

MDBarbier


I have installed through extensions->visual studio marketplace and downloaded . Attached the screenshot. enter image description here Still I cannot add a feature file from right click on proj> Add new item.

like image 37
naazneen3264 Avatar answered Sep 19 '22 17:09

naazneen3264