【发布时间】:2020-01-22 15:25:46
【问题描述】:
在 BDD specflow 中,我们具有从 excel 传递场景大纲示例的功能,如下所示
Feature: ExcelTestFeature
test transform of excel data into dictionary
Scenario Outline: Multiline Data
Given data converts to "<one>", "<two>" dictionary
@source:Testdata.xlsx:Sheet1
Examples:
|ono|two|
我们在黄瓜 bdd 中是否有 @source:Testdata.xlsx:Sheet1 的等效代码?
注意:我需要在 qmetry 自动化框架中解决 cucumber 中的问题
【问题讨论】:
-
我认为黄瓜中没有等价物。 Cucumber 建议使用数据表或示例表将数据构建到特征文件中。但是可以使用外部数据表作为数据表。
标签: cucumber