Tags concept in Specflow at Feature level
Tags concept allows us to run and group the testcases in Specflow when executing from Jenkins.
Let us see about using Tags at Feature level
For E.g
Having a tag like “@SmokeTest” at the top of the Feature will help you to run all the below testcases from a Jenkins Job.
Here is the screenshot of Jenkins job details
The tags can be mentioned as Category which will help us to execute all the testcases that has “@SmokeTest” tag. Since we have mentioned “@SmokeTest” tag at the top of the feature file, all the testcases in the feature file are assigned SmokeTest tag and will be executed whenever the category is SmokeTest