Search code examples
c#visual-studiospecflowspecrun

Is there anyway we can create test suite of feature files in Specflow similar to TestNG?


Trying to create a test suite , in which I do not want to include all the feature files. Is that possible? This is in the lines of TestNG.xml test suite. Does Specflow provide any such feature? Is there any documentation for tags in Default.srprofile, using which I can manipulate to include/exclude feature files I want to run?


Solution

  • You can configure filtering for Tags/Features/Scenarios in the Default.srProfile.
    See the documentation here: http://www.specflow.org/plus/documentation/SpecFlowPlus-Runner-Profiles/#Filter