如何在空手道DSL中并行环境中执行测试(多个功能文件)

问题描述 投票:1回答:1

如何使用Karate DSL并行跨多个环境执行测试(功能文件)

我有两个功能文件,我需要在不同的环境中并行执行。

karate
1个回答
1
投票

使用第二个功能文件,并在2个方案中调用所需的功能,但传递不同的参数。

您甚至可以使用Scenario Outline,例如,请看:

Scenario Outline:
  * call read('some.feature') <config>

Examples:
    | config |
    | { type: 'chrome' } | 
    | { type: 'chromedriver' } |
    | { type: 'geckodriver' } |
© www.soinside.com 2019 - 2024. All rights reserved.