Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 484
MrBlueSky Avatar asked Mar 09 '11 15:03

MrBlueSky


1 Answers

This is a good link http://www.marcusoft.net/2010/12/using-tags-in-specflow-features.html

like image 88
Johnno Nolan Avatar answered Sep 20 '22 14:09

Johnno Nolan