我可以忽略不包含在黄瓜HTML报告中的示例数据

时间:2018-08-17 10:34:42

标签: cucumber cucumberjs cucumber-java cucumber-junit

我在Java和Maven中使用黄瓜。

我正在特征文件中使用黄瓜示例数据。

但是要求是我们不想在小黄瓜语句的报告中包含示例数据。

示例:

 Scenario Outline: Looking up the definition of fruits
    Given the user is on the Wikionary home page
    When the user looks up the definition of the word <name>
    Then they should see the definition 'An edible fruit produced by the pear tree, similar to an apple but elongated towards the stem.'
    Examples:
    | name |
    | pear | 

现在该报告将具有以下声明:

When the user looks up the definition of the word **pear**

我不想在报告中加入梨

任何方法都会有所帮助!

0 个答案:

没有答案