简体   繁体   中英

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. 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 场景

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM