from src/smoketests run in parallel the Examples tagged @single_red:
mvn clean verify -PuseTheForks -Dcucumber.options="--tags '@single_red'"
Notice that the test will not be picked up, the serenity report will be blank.
Now here comes the fun part, try to run it like this:
mvn clean verify -PuseTheForks -Dcucumber.options="--tags '@tag_test and not @double_blue'"
Notice that if using the reverse logic to identify the Examples in that case the tests will run.
By the looks of it, this behavior doesn't seem intended.
Since if running single threaded the Examples are picked up properly:
mvn clean verify -PdontUseTheForks -Dcucumber.options="--tags '@single_red'"
Preconditions:
src/smoketests
run in parallel theExamples
tagged@single_red
:mvn clean verify -PuseTheForks -Dcucumber.options="--tags '@single_red'"
Notice that the test will not be picked up, the serenity report will be blank. Now here comes the fun part, try to run it like this:
mvn clean verify -PuseTheForks -Dcucumber.options="--tags '@tag_test and not @double_blue'"
Notice that if using the reverse logic to identify theExamples
in that case the tests will run.By the looks of it, this behavior doesn't seem intended. Since if running single threaded the
Examples
are picked up properly:mvn clean verify -PdontUseTheForks -Dcucumber.options="--tags '@single_red'"