0

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

1 Answer 1

1

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.

1
  • That Fixed The Issue.. Arigato !
    – OA345
    Commented Mar 9, 2020 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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