Dcucumber.options, how to have multiple tags

前端 未结 6 691
无人共我
无人共我 2020-12-24 03:28

I am trying run cucumber tests using maven with following command

mvn test -Dcucumber.options=\"--tag @debug1\"

This command works fine, ho

6条回答
  •  天涯浪人
    2020-12-24 03:54

    In cucumber v5.X, only mvn test -Dcucumber.options="--tags '@debug1 or @debug2'" is supported and working. mvn test -Dcucumber.options="--tags '@debug1 and @debug2'" is not working and either scenarios won't get executed

提交回复
热议问题