'Michael Cunningham' via Cukes
2018-11-19 13:48:47 UTC
I'm using io.cucumber/cucumber-java version 4.2.0
and io.cucumber/cucumber-junit version 4.2.0
In https://docs.cucumber.io/cucumber/api/#tags, the suggested syntax for
'ANDing' tags is : mvn test -Dcucumber.options='--tags "@smoke and @fast"'
I find this does not work, but mvn test -Dcucumber.options="--tags @smoke
--tags @fast"' does work.
What steps will reproduce the issue? Enter mvn test
-Dcucumber.options='--tags "@smoke and @fast"' as per docs.cucumber.io
webpage
1. What is the expected result? Expect that only the tests tagged by
both @smoke and @fast will be run
What happens instead? Error : Unknown lifecycle phase "@smoke and @fast'"
Sees that it is getting treated as a maven phase or goal
Also I found that 'and' and 'not' keywords are not recognised
and io.cucumber/cucumber-junit version 4.2.0
In https://docs.cucumber.io/cucumber/api/#tags, the suggested syntax for
'ANDing' tags is : mvn test -Dcucumber.options='--tags "@smoke and @fast"'
I find this does not work, but mvn test -Dcucumber.options="--tags @smoke
--tags @fast"' does work.
What steps will reproduce the issue? Enter mvn test
-Dcucumber.options='--tags "@smoke and @fast"' as per docs.cucumber.io
webpage
1. What is the expected result? Expect that only the tests tagged by
both @smoke and @fast will be run
What happens instead? Error : Unknown lifecycle phase "@smoke and @fast'"
Sees that it is getting treated as a maven phase or goal
Also I found that 'and' and 'not' keywords are not recognised
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.