I have a large number of speclow/BDD test cases that makes REST calls. These REST calls works well with content type application/json and application/xml.
But I need to manually change these content type and re-run all the same scenarios every time i need to test for JSON and XML.
Is there way to run all the scenario twice, first run with ContentType application/json and the second run with application/xml.
Yes, but there is nothing in Specflow to support it automatically.
Having said that you can easily reuse your steps and write something like
Or even
Here you detect the which Tag is used in the steps, or even by using Scoped Bindings