列出 Cucumber 中所有可用的标签

2024-02-24

是否有命令行选项可以列出黄瓜测试套件中的所有标签?

例如,我想要这样的东西:

cucumber --show-tags foo.feature

那会给我类似的东西:

@ci
@development
@regression
@wip

对于单个文件:

cucumber -f tag_cloud foo.feature

您还可以在目录中找到所有功能的标签:

cucumber -f tag_cloud features/login

甚至是与特定标签共享的功能:

cucumber --format tag_cloud --tags @bvt

所有这些生成的输出是一个 wiki 样式表:

| @baseline | @customer | @demographics | @performance |
| 1         | 1         | 1             | 1            |
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

列出 Cucumber 中所有可用的标签 的相关文章

随机推荐