selenium-webdrivervisual-studio-2013specflow

Specflow Generate Step Definition is missing from the context menu


I right click on my feature file I should get the option to Generate step definitions. It is not there in the context menu. I did a search and it says to install specrun for nunit. I tried installing SpecRun.Nunit from Manage NuGet Packages.

I get the error:

Severity    Code    Description Project File    Line    Suppression State
Error       Unable to load the service index for source 
http://packagesource.
An error occurred while sending the request.
The remote name could not be resolved: 'packagesource'          0   

I have Visual Studio Enterprise 2017 isntalled. I have installed Selenium-webdriver, Specflow

How can I solve this issue please, thanks.


Solution

  • You need to install the specflow nuget package as well as the Visual Studio integration package from the menu item Tools -> "Extensions and Updates..."