Closed mAiNiNfEcTiOn closed 8 years ago
Based on https://github.com/cucumber/cucumber/wiki/Tags#logically-anding-and-oring-tags, if you executed:
node_modules/.bin/pioneer --tags=tagOne --tags=tagTwo
The tags were being ORed instead of ANDed.
The changes in this PR make the array of tags to be considered AND, and the string to be considered OR.
By the way, I tried executing like this:
node_modules/.bin/pioneer --tags=tagOne, tagTwo
But to properly be an argument, it should either be:
node_modules/.bin/pioneer --tags=tagOne,tagTwo
or
node_modules/.bin/pioneer --tags="tagOne, tagTwo"
Based on https://github.com/cucumber/cucumber/wiki/Tags#logically-anding-and-oring-tags, if you executed:
The tags were being ORed instead of ANDed.
The changes in this PR make the array of tags to be considered AND, and the string to be considered OR.
By the way, I tried executing like this:
But to properly be an argument, it should either be:
or