Reputation: 611
When I created a feature file, and ran generate test steps. Specflow runner created a Steps file. When I built the solution however, the Test Explorer did not populate.
I am using VS2015
I have already tried all the remedies listed here to no avail.
Installed packages:
NUnit 3.7.1
NUnit.Console 3.6.1
NUnit.ConsoleRunner 3.6.1
NUnit3TestAdapter 3.7.0
SpecFlow 2.1.0
SpecFlow.NUnit 2.1.0
SpecFlow.NUnit.Runners 2.1.0
Upvotes: 0
Views: 1556
Reputation: 301
You need to install a visual studio extension called Nunit 3 Test Adapter. This is not a project nuget package but a visual studio extension to handle properly the generated tests by Specflow.
How-to: from the menu at the top select Tools -> On the sidebar in left select Online -> Enter the extension name and install it.
Possible restart of VisualStudio will be required.
Upvotes: 1