2

I am using Spec Runner to run my test cases, the scenrios are getting called twice.

What might be the issue?

Please find the below scenario and test results attached

ScenarioTestResults

1 Answers1

2

Are they failing scenarios? In the standard configuration SpecFlow+Runner retries failing tests.

To disable the retry of a scenario, you have to set the retryCount parameter in the execution element to 0. See http://www.specflow.org/plus/documentation/SpecFlowPlus-Runner-Profiles/#Execution

Full disclosure: I am one of the developers of the SpecFlow+Runner.

Andreas Willich
  • 5,665
  • 3
  • 15
  • 22