[英]How to run the same feature file multiple times with different data (language) set for every new run in Cucumber JVM
我在Cucumber JVM中的情況,我需要運行整個“case.feature”文件, 首先在語言1,語言環境1上設置 5個方案,然后在語言2上運行相同的整個“case.feature” ,Locale 2秒時間 ,有沒有辦法設置它?
例:
在黃瓜中使用場景大綱 ,其中您想要的輸入可以是表格格式,如下所示。
Scenario Outline: eating
Given there are <start> cucumbers
When I eat <eat> cucumbers
Then I should have <left> cucumbers
Examples:
| start | eat | left |
| 12 | 5 | 7 |
| 20 | 5 | 15 |
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.