问题
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.
回答1:
I figured it out: tags = {"@a, @b"}, --> this will do @a OR @b scenarios tags = {"@a", "@b"}, --> this will do @a AND @b scenarios
来源:https://stackoverflow.com/questions/39968139/cucumber-in-java-how-can-i-run-scenarios-with-both-tags-only