【问题标题】:Grunt + Protractor + CucumberJs咕噜+量角器+ CucumberJs
【发布时间】:2016-04-26 20:57:46
【问题描述】:

我正在尝试使用 Grunt 进行 Protractor+Cucumber 测试,我正在使用 grunt-protractor-runner 插件,但我意识到它没有运行我的 After 步骤,因此我的测试失败了。

你推荐哪个插件?我尝试使用grunt-protractor-cucumber,但无法使用!

你能帮忙吗?

【问题讨论】:

    标签: protractor cucumberjs grunt-plugins


    【解决方案1】:

    我们使用protractor cucumber framework,非常棒。

    有了它,您可以执行以下操作:

    this.After({tags: ['@myCustomScenarioTag']}, function() {
        //do stuff after a specific scenario has run
    });
    

    【讨论】:

      猜你喜欢
      • 2014-08-04
      • 2013-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-19
      • 1970-01-01
      • 1970-01-01
      • 2014-07-13
      相关资源
      最近更新 更多