【发布时间】:2015-06-16 16:29:54
【问题描述】:
我有一个在这样的功能之前运行的方法,
[BeforeFeature, Scope(Feature = "Feature1"]
Method()
{
}
我希望为我编写的另一个功能文件运行相同的方法,即 Feature2
如何在作用域绑定中结合这个“Feature2”?
我试过了
[BeforeFeature, Scope(Feature = "Feature1"]
[Scope(Feature="Feature2")]
但是没有用。该方法仅适用于 Feature1,不适用于 Feature2
【问题讨论】:
标签: scope automated-tests specflow feature-selection feature-file