-
-
Save jesperronn/3898775 to your computer and use it in GitHub Desktop.
Cucumber formatter to list all tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To list all tags scattered across your feature files... | |
1) add the following "list_tags.rb" file to your features/support directory | |
2) cucumber -d -f Cucumber::Formatter::ListTags | |
The output now has both tags and number of occurrences: | |
@backend-required 4 | |
@issues 1 | |
@localstub 1 | |
@logged_out 1 | |
@regression 2 | |
@screenshot 12 | |
@smoketest 12 | |
@validation 6 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment