0
votes

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

1
Do you use NUnit3 or 2.6.x?Buaban
Please add the version numbers to your installed packagesAndreas Willich
added version numbers.TangibleDream

1 Answers

1
votes

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.