由网友(funny.【可笑.】)分享简介:我有一些 SpecFlow 功能(使用 Gherkin 语法),我想暂时禁用该功能以阻止其测试运行?I have some SpecFlow features (using the Gherkin syntax) and I would like to temporarily disable the feature...
我有一些 SpecFlow 功能(使用 Gherkin 语法),我想暂时禁用该功能以阻止其测试运行?
I have some SpecFlow features (using the Gherkin syntax) and I would like to temporarily disable the feature to prevent its tests from running?
是否有一个属性可以用来标记功能?我猜测适用于 Cucumber 的东西也可能适用于 SpecFlow.
Is there an attribute I can mark the feature with to do this? I'm guessing that something that works with Cucumber might also work with SpecFlow.
推荐答案
你可以用@ignore标签来标记特征:
You can mark the feature with the tag @ignore:
@ignore @web
Scenario: Title should be matched
When I perform a simple search on 'Domain'
Then the book list should exactly contain book 'Domain Driven Design'
相关推荐
最新文章