[英]cucumber (in Java): How can I run scenarios with both tags only
I have some feature files with multiple tags for each scenario.对于每个场景,我都有一些带有多个标签的功能文件。 But I would like to run those who has both @a AND @b scenarios.
但我想运行那些同时具有 @a 和 @b 场景的人。 How can I do that?
我怎样才能做到这一点?
tags = {"@a, @b"}, --> this will do @a OR @b scenarios
Thanks.谢谢。
我想通了:tags = {"@a, @b"}, --> 这会做@a OR @b 场景tags = {"@a", "@b"}, --> 这会做@ a AND @b 场景
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.