【发布时间】:2016-04-26 20:57:46
【问题描述】:
我正在尝试使用 Grunt 进行 Protractor+Cucumber 测试,我正在使用 grunt-protractor-runner 插件,但我意识到它没有运行我的 After 步骤,因此我的测试失败了。
你推荐哪个插件?我尝试使用grunt-protractor-cucumber,但无法使用!
你能帮忙吗?
【问题讨论】:
标签: protractor cucumberjs grunt-plugins
我正在尝试使用 Grunt 进行 Protractor+Cucumber 测试,我正在使用 grunt-protractor-runner 插件,但我意识到它没有运行我的 After 步骤,因此我的测试失败了。
你推荐哪个插件?我尝试使用grunt-protractor-cucumber,但无法使用!
你能帮忙吗?
【问题讨论】:
标签: protractor cucumberjs grunt-plugins
我们使用protractor cucumber framework,非常棒。
有了它,您可以执行以下操作:
this.After({tags: ['@myCustomScenarioTag']}, function() {
//do stuff after a specific scenario has run
});
【讨论】: