The test scenario in Test Explorer is different from what I have in my V/S Project.

I have tried re-starting Test Explorer to no effect. Thanks !

enter image description here


Feels like the generation of the code behind is not working correctly. Specflow creates .cs file for each .feature file. This .cs file contains the "real" testcode that is found by the test-explorer. Each should be regenerated on each save, rebuild.

We had to set the option "specflowsinglefilegenerator" to true. Suggest you try the options in the following two pages:

Alternatively, delete the generated .cs files and rebuild your project.

  • That Fixed The Issue.. Arigato ! – OA345 Mar 9 '20 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.