如何通过Jenkins将黄瓜示例作为变量传递

时间:2020-10-26 13:02:11

标签: java selenium cucumber

[Scenario with exampl][1]


  [1]: https://i.stack.imgur.com/F8BF1.png

我想通过jenkins字符串参数传递突出显示的值,实现此目的的更简单方法是什么?

   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 |   //want to pass 12 as variable via jenkins
    |    **20** |   5 |   15 |
 

0 个答案:

没有答案
相关问题