Closed vrbcntrl closed 5 years ago
That's actually the correct behavior.
The tag filters always apply to single Scenarios (which inherit the Tags from the Feature) - so an and
in the tag filter means a Scenario which has the tag X and the tag Y.
In your case it would match a Scenario with the tags @subtraction
and @addition
like:
@addition
@subtraction
Scenario: some test case ...
Given ...
When ....
Then ....
I guess what you are looking for is the or
-operator meaning: *a Scenario which has the tag X or the tag Y`.
Thanks for the quick response @timofurrer
Yes, the or operator is what I was looking for.
Hi, I am trying to run my features with tag expressions, but throws me an error
radish command:
D:\radish-bdd\training>radish --write-steps-once features/ --basedir=D:\radish-bdd\training\radish --tags="addition and subtraction"
Feature
error
However the command works fine if I only pass one tag with out the and operator. Has any one seen this error before or know how to test multiple tags with and operator?
Thanks in advance!