List all available tags in Cucumber
Is there a command line option to list all the tags in your cucumber test suite?
For example, I would want something like:
cucumber --show-tags foo.feature
That would give me something like:
@ci
@developmen开发者_Python百科t
@regression
@wip
For a single file:
cucumber -f tag_cloud foo.feature
You could also find the tags of all features in a directory:
cucumber -f tag_cloud features/login
Or even features that are shared with a particular tag:
cucumber --format tag_cloud --tags @bvt
The output generated for all these is a wiki style table:
| @baseline | @customer | @demographics | @performance |
| 1 | 1 | 1 | 1 |
精彩评论