I am trying to run multiple feature file using tags, i have tried the command cucumber --tag @some_name --tag @some_name1. But it throws an error which reads as follows,
"WARNING: cannot load such file -- 2.0/gherkin_lexer_en Couldn't load 2.0/gherkin_lexer_en"
Can someone please tell me how to use tags to run multiple feature file.
Example: Running scenarios which match @important OR @billing
cucumber --tags @billing,@important
Example: Running scenarios which match @important AND @billing
cucumber --tags @billing --tags @important
from: https://docs.cucumber.io/cucumber/api/#tags
Try this to run multiple feature files using tags
cucumber --tags @some_name,@some_name1,@some_name3
Here is the official documentation: https://docs.cucumber.io/cucumber/api/#tags
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With