【问题标题】:Is it possible to run Cucumber example tables in parallel with webdriverio?是否可以与 webdriverio 并行运行 Cucumber 示例表?
【发布时间】:2021-01-13 07:25:33
【问题描述】:

我需要使用不同的数据多次运行一个场景。我有一个包含多个示例表的场景,每个示例表都有不同的标签。是否可以为每个示例表并行运行场景?

谢谢你:)

【问题讨论】:

    标签: cucumber webdriver-io


    【解决方案1】:

    【讨论】:

    • 您好,感谢您分享链接。该模块允许并行运行多个场景。就我而言,我只有一个带有示例表的场景。
    • @yosrO 据我所知,每个示例表都是一个场景。因此,如果您有一个场景,最后有两个示例表,那么您将有两个场景。即:Feature: Homepage redirects As a user I want to navigate the homepage for a country Scenario Outline: as a user I want to visit the homepage in <nation> Given a user in <nation> Then I expect a redirect to a page having "isoCode" in the url Examples: | nation | isoCode | | Italy | it | Examples: | nation | isoCode | | Japan | jp |
    • 谢谢,我从来没有从这个角度考虑过。我将尝试该模块并提供反馈。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-02-10
    • 1970-01-01
    • 2018-04-07
    • 1970-01-01
    • 2017-12-18
    • 2015-06-10
    • 1970-01-01
    相关资源
    最近更新 更多