【问题标题】:CodeceptJs. Is there a way to add Datatable source for Feature?CodeceptJs。有没有办法为 Feature 添加 Datatable 源?
【发布时间】:2020-03-13 14:41:38
【问题描述】:

正如我在官方网站上看到的,我们可以添加

Data(table).Scenario("TestName", async (I, current) => {..});

有没有办法将参数添加到功能而不是场景?

【问题讨论】:

    标签: data-driven-tests codeceptjs


    【解决方案1】:

    不,当前版本 (2.3.6) 不支持将 Data 用于 Feature。它仅适用于Scenario

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-24
      相关资源
      最近更新 更多