开发者

List all available tags in Cucumber

开发者 https://www.devze.com 2023-01-24 10:09 出处:网络
Is there a command line option to list all the tags in your cucumber test suite? For example, I would want something like:

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            |
0

精彩评论

暂无评论...
验证码 换一张
取 消