Dcucumber.options, how to have multiple tags

前端 未结 6 705
无人共我
无人共我 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:44

    I using this commandline to run multiple tags

    mvn test  -Dcucumber.options="--tags '@tag1 or @tag2' --plugin io.qameta.allure.cucumber4jvm.AllureCucumber4Jvm --plugin rerun:rerun/failed_scenarios.txt"
    

    Cucumber version 4.2.6

提交回复
热议问题