自从从 info.cukes 更新到 io.cucumber 以来,我似乎无法导入 raw() 并依次打印存储在功能文件中的 DataTable 的值,有什么想法吗?
Scenario: Validate Review Count
Given I access the testimonials homepage
Then the reviews count on the testimonials page should be great than the listed total
| specified total |
| 100 |
public void test(DataTable total) throws Exception {
List<List<String>> data = total.raw(); //the problem
System.out.println(data.get(1).get(0));
}
杨__羊羊
相关分类