CucumberJS Tags Usage

Опубликовано: 26 Март 2026
на канале: Krishna Yalavarthi
2,546
14

CucumberJS Tags Usage

how to run more than one tag:
node_modules/.bin/cucumberjs --tags '@docString or @dataTable'

Migrating from old style tags
--tags @dev stays the same
--tags ~@dev becomes --tags 'not @dev'
--tags @foo,@bar becomes --tags '@foo or @bar'
--tags @foo --tags @bar becomes --tags '@foo and bar'
--tags ~@foo --tags @bar,@zap becomes --tags 'not @foo and (@bar or @zap)'