According to Cucumber.io there are 2 styles in which you can define a tag expression. For your specific case, to exclude steps or functions marked with @ignore, these 2 styles translate to:
- old style :
cucumber --tags ~@ignore - new style :
cucumber --tags "not @ignore" .
To my surprise, using the same cucumber-js v1.3.1 that runs on Node.js v6.9.2, I found that the Windows version only supports the new style, and the Linux version only the old one. Depending on your settings, you can try both options and see if you succeed with any of them.
source share