Ruby Cumber标签即使被排除在外也会运行(我想)

Ruby Cumber标签即使被排除在外也会运行(我想),ruby,tags,cucumber,Ruby,Tags,Cucumber,这是我在cygwin中键入的内容: cucumber.bat features -p super 这是超级配置文件: super: FIG_NEWTON_FILE=local.yml --no-source --color --tags ~@nonsuper,~@unimplemented --format pretty 这是我想跳过的一个测试示例: @nonsuper Scenario: Try to set denial specials Then the "Denial S

这是我在cygwin中键入的内容:

cucumber.bat features -p super
这是超级配置文件:

super: FIG_NEWTON_FILE=local.yml --no-source --color --tags ~@nonsuper,~@unimplemented --format pretty  
这是我想跳过的一个测试示例:

@nonsuper  
Scenario: Try to set denial specials
  Then the "Denial Specialist" field is disabled at the "summary" view
它正在使用这些标记运行场景和功能

我相信我在个人资料里做错了什么,我只是不知道是什么


感谢您的帮助=]

如果您想跳过一个场景,请将

@wip
当您执行以下操作时,用标签代替“@nonsuper”

--tags ~@nonsuper,~@unimplemented
这意味着在没有标记
@nonsuper
或没有标记
@unimplemented
的情况下运行场景。您的场景满足了没有
@unimplemented
标记的要求,因此可以运行它

你想要的是:

--tags ~@nonsuper --tags ~@unimplemented
这意味着在没有标记
@nonsuper
和没有标记
@unimplemented
的情况下运行场景


有关组合标记的更多详细信息,请参阅。

我必须在其他地方阅读1000遍。出于某种原因,我的印象是,如果我使用AND逻辑,我需要在一个场景上同时使用两个标记才能使其不运行。非常感谢你。