0
votes
  • I have created a UnitTest Project and added app.config as file it didn't come by default with the UnitTest Project and added NuGet package SplecFlow.MsTest.
  • Then I have updated the Visual Studio SpecFlow for 2017 from Tool>>Extensions and Updates.
  • Then added a specFlow feature file in it.

I can't see anything added to the App.config after adding the SpecFlow.Mstest. Ideally, it should add <unitTest>MsTest</UnitTest> tag in the config file. The default test case is not seen in Test Explorer. Sometimes it shows error as "No test are found with fullyQualifiedName=<SolutionNameandTestCase name>"

  1. Tried to go through the Setup

https://www.testautomationtribe.com/specflow-tutorial-c-project-setup

  1. Tried with Class library project as well

  2. Feature file >> Properties >>Custom tool to blank perviously it was SpecFlowSingleFileGenerator

Test Explorer should display the test cases.

1
Follow this guide instead. The tutorial you linked to seems out-of-date. You don't need app.config.Mika Sundland

1 Answers

0
votes

Try to install SpecFlow.Tools.MsBuild.Generation nuget package and it should work.