[英]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.