繁体   English   中英

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

[英]How to execute tests (multiple feature files) across environments in parallel in Karate DSL

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

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

使用第二个功能文件,并在 2 个场景中调用您想要的功能,但传递不同的参数。

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

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

Examples:
    | config |
    | { type: 'chrome' } | 
    | { type: 'chromedriver' } |
    | { type: 'geckodriver' } |

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM