MrBlueSky
MrBlueSky

Reputation: 760

Where can I find out how best to use Gherkin tags?

I've been using SpecFlow for my acceptance tests. This uses Gherkin (the DSL Cucumber uses). It includes an interesting feature called "tags". I can see the practicalities of its use, but am not sure about what might constitute good practice for using tags in BDD.

I have Googled around for help but unfortunately including the word "Tag" matches lots of non-Gherkin tags (like the ones on this page!)

I hoped to find some help on the Cucumber wiki but the Tags topic is not yet written.

I found the statement "you can use Tags to group features and scenarios together independent of your file and directory structure" but I'm afraid I don't know what that means!

Upvotes: 7

Views: 2732

Answers (1)

Related Questions