i've bunch of scenarios with tagging @ABC and @DEF under module 'TEST'.
I'm able to run test with multiple tagging using following command (older way and soon to be deprecated)
mvn clean test -pl TEST -Dcucumber.options="--tags @ABC,@DEF"
but not
mvn clean test -pl TEST -Dcucumber.options="--tags '@ABC or @DEF'"
any idea? i've also switching the quotes around but still doesn't work, no test are triggered.
what I've tried
-Dcucumber.options='--tags @ABC or @DEF'
-Dcucumber.options='--tags "@ABC or @DEF"'
-Dcucumber.options="--tags '@ABC or @DEF'"
-Dcucumber.options="--tags '(@ABC or @DEF)'"
Thanks alot!
I don't think you need the single quotes. Could you try mvn clean test -pl TEST -Dcucumber.options="--tags @ABC or @DEF"
?
Note, for more information, see Cucumber documentation on Tag expressions